com.ibm.commerce.promotion.facade.server.exception

Class PromotionApplicationException

  • All Implemented Interfaces:
    java.io.Serializable


    public class PromotionApplicationException
    extends AbstractApplicationException
    This is the Exception class that can be used for any application level exceptions to be thrown during the Promotion services execution. See the constructor details for creating this exception. See documentation for com.ibm.commerce.foundation.common.exception.AbstractApplicationException, for more details on the behaviour of this exception.
    See Also:
    Serialized Form
    • Constructor Detail

      • PromotionApplicationException

        public PromotionApplicationException(java.lang.String messageKey,
                                             java.lang.Object[] params,
                                             java.lang.String className,
                                             java.lang.String methodName)
        Creates the PromotionApplicationException.
        Parameters:
        messageKey - The message key of the exception.
        params - The parameters used for the message key of the exception.
        className - The name of the class throwing the exception.
        methodName - The name of the method throwing the exception.
      • PromotionApplicationException

        public PromotionApplicationException(java.lang.String messageKey,
                                             java.lang.Object[] params,
                                             java.lang.String className,
                                             java.lang.String methodName,
                                             java.lang.Throwable cause)
        Creates the PromotionApplicationException.
        Parameters:
        messageKey - The message key of the exception.
        params - The parameters used for the message key of the exception.
        className - The name of the class throwing the exception.
        methodName - The name of the method throwing the exception.
        cause - The cause of the exception.