Class CouponCodeGenerationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.hybris.platform.couponservices.couponcodegeneration.CouponCodeGenerationException
- All Implemented Interfaces:
Serializable
CouponCodeGenerationException indicates an exception related to coupon code generation.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intdefault error code to be used in deprecated constructorsstatic final intindicates that a coupon code could not be generated because the maximum number of allowed coupon codes has been exceeded. -
Constructor Summary
ConstructorsConstructorDescriptionCouponCodeGenerationException(String message, int errorCode) CouponCodeGenerationException(String message, int errorCode, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
DEFAULT_ERROR_CODE
public static final int DEFAULT_ERROR_CODEdefault error code to be used in deprecated constructors- See Also:
-
ERROR_MAXIMUM_COUPON_CODES_GENERATED
public static final int ERROR_MAXIMUM_COUPON_CODES_GENERATEDindicates that a coupon code could not be generated because the maximum number of allowed coupon codes has been exceeded.- See Also:
-
-
Constructor Details
-
CouponCodeGenerationException
-
CouponCodeGenerationException
-
-
Method Details
-
getErrorCode
public int getErrorCode()
-