X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2Forg%2Fmxchange%2Fjshopcore%2Fexceptions%2FCategoryTitleAlreadyUsedException.java;h=8c477a29f75da8b2b20f7232e44cbb953893b083;hb=672084ab2c551cbff8c8c424780ed344f7c13925;hp=fa290f4819f9f473a70c8cab62fc611561b7394c;hpb=5732496c13f13fec19c7630530ba2c448f53cf28;p=jcustomer-core.git diff --git a/src/org/mxchange/jshopcore/exceptions/CategoryTitleAlreadyUsedException.java b/src/org/mxchange/jshopcore/exceptions/CategoryTitleAlreadyUsedException.java index fa290f4..8c477a2 100644 --- a/src/org/mxchange/jshopcore/exceptions/CategoryTitleAlreadyUsedException.java +++ b/src/org/mxchange/jshopcore/exceptions/CategoryTitleAlreadyUsedException.java @@ -21,10 +21,11 @@ import org.mxchange.jshopcore.model.category.Category; /** * An exception thrown when the given title is already used - * + *
* @author Roland Haeder
* @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
}
}