Class CouponCodeGenerationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- de.hybris.platform.couponservices.couponcodegeneration.CouponCodeGenerationException
-
- All Implemented Interfaces:
java.io.Serializable
public class CouponCodeGenerationException extends java.lang.RuntimeExceptionCouponCodeGenerationException indicates an exception related to coupon code generation.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_ERROR_CODEdefault error code to be used in deprecated constructorsstatic intERROR_MAXIMUM_COUPON_CODES_GENERATEDindicates that a coupon code could not be generated because the maximum number of allowed coupon codes has been exceeded.
-
Constructor Summary
Constructors Constructor Description CouponCodeGenerationException(java.lang.String message, int errorCode)CouponCodeGenerationException(java.lang.String message, int errorCode, java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetErrorCode()
-
-
-
Field Detail
-
DEFAULT_ERROR_CODE
public static final int DEFAULT_ERROR_CODE
default error code to be used in deprecated constructors- See Also:
- Constant Field Values
-
ERROR_MAXIMUM_COUPON_CODES_GENERATED
public static final int ERROR_MAXIMUM_COUPON_CODES_GENERATED
indicates that a coupon code could not be generated because the maximum number of allowed coupon codes has been exceeded.- See Also:
- Constant Field Values
-
-