com.ibm.commerce.context.exception

Class BusinessContextException

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


    public class BusinessContextException
    extends BusinessContextServiceException
    The exception to be thrown when an error is encountered in a context.
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

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

      • BusinessContextException

        public BusinessContextException(ECMessage ecMessage,
                                        java.lang.String className,
                                        java.lang.String methodName,
                                        java.lang.String[] msgParams)
        Constructs a BusinessContextException with the specified parameters.
        Parameters:
        ecMessage - a message that describes this exception
        className - the name of the class that is throwing this exception (to be used for logging purposes)
        methodName - the name of the method that is throwing this exception (to be used for logging purposes)
        msgParams - the parameters that the message requires
      • BusinessContextException

        public BusinessContextException(ECMessage ecMessage,
                                        java.lang.String className,
                                        java.lang.String methodName,
                                        java.lang.String[] msgParams,
                                        java.lang.Throwable throwable)
        Constructs a BusinessContextException with the specified parameters.
        Parameters:
        ecMessage - a message that describes this exception
        className - the name of the class that is throwing this exception (to be used for logging purposes)
        methodName - the name of the method that is throwing this exception (to be used for logging purposes)
        msgParams - the parameters that the message requires
        throwable - the cause of this exception