com.ibm.commerce.context.exception

Class BusinessContextNotFoundException

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


    public class BusinessContextNotFoundException
    extends BusinessContextServiceException
    The exception to be thrown when a business context cannot be found.
    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

      • BusinessContextNotFoundException

        public BusinessContextNotFoundException(java.lang.String className,
                                                java.lang.String methodName,
                                                java.lang.String contextName,
                                                java.lang.Long activityId,
                                                java.lang.Throwable throwable)
        Constructs a BusinessContextNotFoundException with the specified parameters.
        Parameters:
        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)
        contextName - the name of the context that cannot be found
        activityId - the identifier of the context's activity
        throwable - the cause of this exception