com.ibm.commerce.context.exception

Class InvalidActivityTokenException

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


    public class InvalidActivityTokenException
    extends BusinessContextServiceException
    The exception to be thrown when an activity token cannot be validated.
    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

      • InvalidActivityTokenException

        public InvalidActivityTokenException(java.lang.String className,
                                             java.lang.String methodName,
                                             java.lang.Long activityId)
        Constructs an InvalidActivityTokenException 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)
        activityId - the identifier of the invalid activity token
      • InvalidActivityTokenException

        public InvalidActivityTokenException(java.lang.String className,
                                             java.lang.String methodName,
                                             java.lang.Long activityId,
                                             java.lang.Throwable throwable)
        Constructs an InvalidActivityTokenException 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)
        activityId - the identifier of the invalid activity token
        throwable - the cause of this exception