© 2001 BEA Systems, Inc.

com.beasys.commerce.foundation.exception
Class InvalidSessionStateException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.beasys.commerce.foundation.exception.ApplicationException
                    |
                    +--com.beasys.commerce.foundation.exception.ProcessingException
                          |
                          +--com.beasys.commerce.foundation.exception.InvalidSessionStateException
All Implemented Interfaces:
MessageCatalogException, java.io.Serializable

public class InvalidSessionStateException
extends ProcessingException

This exception will be thrown if the HTTP Session is invalid.

InvalidSessionStateExceptions or sub-classes of InvalidSessionStateException are meant to be thrown by InputProcessors if the HTTP Session is invalid.

Note: Throughout this API documentation namespace refers to the resource bundle that contains the catalog of exception messages. Refer to the MessageCatalog API documentation for further details.

See Also:
MessageCatalogException, Serialized Form

Fields inherited from class com.beasys.commerce.foundation.exception.ProcessingException
MESSAGE_NAMESPACE
 
Fields inherited from class com.beasys.commerce.foundation.exception.ApplicationException
embeddedException, logMessages, userMessages
 
Constructor Summary
InvalidSessionStateException(java.lang.String message)
          Constructs a InvalidSessionStateException with the given message.
InvalidSessionStateException(java.lang.String message, java.lang.Exception embeddedException)
          Constructs a InvalidSessionStateException with the given message and the embedded exception.
InvalidSessionStateException(java.lang.String namespace, java.lang.String messageKey)
          Constructs a InvalidSessionStateException.
InvalidSessionStateException(java.lang.String namespace, java.lang.String messageKey, java.lang.Exception embeddedException)
          Constructs a InvalidSessionStateException.
InvalidSessionStateException(java.lang.String namespace, java.lang.String messageKey, java.lang.Object argument)
          Constructs a InvalidSessionStateException.
InvalidSessionStateException(java.lang.String namespace, java.lang.String messageKey, java.lang.Object[] arguments)
          Constructs a InvalidSessionStateException.
InvalidSessionStateException(java.lang.String namespace, java.lang.String messageKey, java.lang.Object[] arguments, java.lang.Exception embeddedException)
          Constructs a InvalidSessionStateException.
InvalidSessionStateException(java.lang.String namespace, java.lang.String messageKey, java.lang.Object argument, java.lang.Exception embeddedException)
          Constructs a InvalidSessionStateException.
 
Methods inherited from class com.beasys.commerce.foundation.exception.ProcessingException
setEmbeddedException
 
Methods inherited from class com.beasys.commerce.foundation.exception.ApplicationException
addLogMessage, addLogMessage, addLogMessage, addMessage, addMessage, addMessage, addUserMessage, addUserMessage, addUserMessage, getEmbeddedException, getLocalizedMessage, getLogMessage, getLogMessages, getMessage, getUserMessage, getUserMessages, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidSessionStateException

public InvalidSessionStateException(java.lang.String message)
Constructs a InvalidSessionStateException with the given message.
Parameters:
String - the message.

InvalidSessionStateException

public InvalidSessionStateException(java.lang.String message,
                                    java.lang.Exception embeddedException)
Constructs a InvalidSessionStateException with the given message and the embedded exception.
Parameters:
String - the message.
Exception - the Embedded Exception.

InvalidSessionStateException

public InvalidSessionStateException(java.lang.String namespace,
                                    java.lang.String messageKey)
Constructs a InvalidSessionStateException.

This uses the given namespace to do a lookup for the given messageKey

Parameters:
String - the name of the resource bundle which contains the given messageKey.
String - the messageKey to look for.

InvalidSessionStateException

public InvalidSessionStateException(java.lang.String namespace,
                                    java.lang.String messageKey,
                                    java.lang.Object argument)
Constructs a InvalidSessionStateException.

This uses the given namespace to do a lookup for the given messageKey. Once the message is found the argument is used to replaces the place holders in the message.

Parameters:
String - the name of the resource bundle which contains the given messageKey.
String - the messageKey to look for.
Object - the argument that replaces the place holder in the message.

InvalidSessionStateException

public InvalidSessionStateException(java.lang.String namespace,
                                    java.lang.String messageKey,
                                    java.lang.Object[] arguments)
Constructs a InvalidSessionStateException.

This uses the given namespace to do a lookup for the given messageKey. Once the message is found the argument is used to replaces the place holders in the message.

Parameters:
String - the name of the resource bundle which contains the given messageKey
String - the message key that will be used to do a lookup in the default resource bundle.
Object[] - the arguments that replaces the place holders in the message.

InvalidSessionStateException

public InvalidSessionStateException(java.lang.String namespace,
                                    java.lang.String messageKey,
                                    java.lang.Exception embeddedException)
Constructs a InvalidSessionStateException.

This uses the given namespace to do a lookup for the given messageKey.

Parameters:
String - the name of the resource bundle which contains the given messageKey.
String - the message key that will be used to do a lookup in the default resource bundle.
Exception - the Embedded Exception.

InvalidSessionStateException

public InvalidSessionStateException(java.lang.String namespace,
                                    java.lang.String messageKey,
                                    java.lang.Object argument,
                                    java.lang.Exception embeddedException)
Constructs a InvalidSessionStateException.

This uses the given namespace to do a lookup for the given messageKey. Once the message is found the argument is used to replaces the place holders in the message.

Parameters:
String - the name of the resource bundle which contains the given messageKey.
String - the messageKey to look for.
Object - the argument that replaces the place holder in the message
Exception - the Embedded Exception.

InvalidSessionStateException

public InvalidSessionStateException(java.lang.String namespace,
                                    java.lang.String messageKey,
                                    java.lang.Object[] arguments,
                                    java.lang.Exception embeddedException)
Constructs a InvalidSessionStateException.

This uses the given namespace to do a lookup for the given messageKey. Once the message is found the argument is used to replaces the place holders in the message.

Parameters:
String - the name of the resource bundle which contains the given messageKey.
String - the message key that will be used to do a lookup in the default resource bundle.
Object[] - the arguments that replaces the place holders in the message.
Exception - the Embedded Exception.

© 2001 BEA Systems, Inc.

Copyright © 2001 BEA Systems, Inc. All Rights Reserved