com.ibm.commerce.promotion.uniquecode

Class PromotionCodeException

  • All Implemented Interfaces:
    com.ibm.commerce.exception.ECCorrelatedIdentity, com.ibm.websphere.exception.DistributedExceptionEnabled, java.io.Serializable


    public class PromotionCodeException
    extends ECApplicationException
    This class defines the exceptions thrown when the error happens during the promotion code related logic is executed.
    See Also:
    Serialized Form
    • Constructor Detail

      • PromotionCodeException

        public PromotionCodeException(ECMessage msg,
                                      java.lang.Object[] msgParameters)
        The constructor of this class.
        Parameters:
        msg - The message of this exception.
        msgParameters - The parameters of this exception.
      • PromotionCodeException

        public PromotionCodeException(ECMessage msg,
                                      java.lang.String className,
                                      java.lang.String methodName)
        The constructor of this class.
        Parameters:
        msg - The message of the exception.
        className - The name of the class throwing the exception.
        methodName - The name of the method throwing the exception.
      • PromotionCodeException

        public PromotionCodeException(ECMessage msg,
                                      java.lang.String className,
                                      java.lang.String methodName,
                                      java.lang.Object[] msgParameters)
        The constructor of this class.
        Parameters:
        msg - The message of the exception.
        className - The name of the class throwing the exception.
        methodName - The name of the method throwing the exception.
        msgParameters - The parameters of this exception.
      • PromotionCodeException

        public PromotionCodeException(java.lang.Throwable throwable)
        The constructor of this class.
        Parameters:
        throwable - The cause of this exception
      • PromotionCodeException

        public PromotionCodeException(ECMessage msg,
                                      java.lang.Object[] msgParameters,
                                      java.lang.Throwable throwable)
        The constructor of this class.
        Parameters:
        msg - The message of this exception.
        msgParameters - The parameters of this exception.
        throwable - The cause of this exception
      • PromotionCodeException

        public PromotionCodeException(ECMessage msg,
                                      java.lang.String className,
                                      java.lang.String methodName,
                                      java.lang.Object[] msgParameters,
                                      java.lang.Throwable throwable)
        The constructor of this class.
        Parameters:
        msg - The message of this exception.
        className - The name of the class throwing the exception.
        methodName - The name of the method throwing the exception.
        msgParameters - The parameters of this exception.
        throwable - The cause of this exception