Class AddCodeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.broadleafcommerce.cartoperation.exception.AddCodeException
-
- All Implemented Interfaces:
Serializable
public final class AddCodeException extends RuntimeException
Exception thrown when adding a promotional code to the Cart fails.- Author:
- Nathan Moore (nathandmoore)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AddCodeException(String reasonType)AddCodeException(String message, String reasonType)AddCodeException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, String reasonType)AddCodeException(String message, Throwable cause, String reasonType)AddCodeException(Throwable cause, String reasonType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetReasonType()The reason type for why the code could not be added.inthashCode()StringtoString()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
AddCodeException
public AddCodeException(String reasonType)
-
-