com.ibm.commerce.marketing.promotion.runtime

Class PromotionApplicationException

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • com.ibm.commerce.marketing.promotion.runtime.PromotionApplicationException
  • All Implemented Interfaces:
    java.io.Serializable


    public class PromotionApplicationException
    extends java.lang.Exception
    This is an exception class for reporting errors for promotion application.
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM Copyright
        See Also:
        Constant Field Values
    • Constructor Detail

      • PromotionApplicationException

        public PromotionApplicationException()
        Constructor.
      • PromotionApplicationException

        public PromotionApplicationException(PromotionErrorReport aReport)
        Constructor.
        Parameters:
        aReport - is a promotion error report.
    • Method Detail

      • getErrorReports

        public PromotionErrorReport[] getErrorReports()
        This method output error reports happened during promotion evaluation
        Returns:
        an array of PromotionErrorReport
      • appendErrorReport

        public void appendErrorReport(PromotionErrorReport aReport)
        This method adds an error report to the error reports
        Parameters:
        aReport - is a report of PromotionErrorReport