/**
* An exception thrown when the given title is already used
- *
+ * <p>
* @author Roland Haeder<roland@mxchange.org>
*/
public class CategoryTitleAlreadyUsedException extends Exception {
+
/**
* Serial number
*/
/**
* Constructor with HttpServletRequest instance
- *
+ * <p>
* @param category Category instance
*/
public CategoryTitleAlreadyUsedException (final Category category) {
// Call super constructor
- super(MessageFormat.format("Title {0} is already used.", category.getTitle())); //NOI18N
- }
-
- /**
- * Constructor with HttpServletRequest instance
- *
- * @param cause Cause for this exception
- */
- public CategoryTitleAlreadyUsedException (final Throwable cause) {
- // Call super constructor
- super(cause);
+ super(MessageFormat.format("Title {0} is already used.", category.getCategoryTitle())); //NOI18N
}
}