# com.beasys.commerce.foundation.exception
InvalidPipelineSessionStateException Class

public class InvalidPipelineSessionStateException
extends `PipelineFatalException`

This exception will be thrown if the state of the `PipelineSession` is invalid. For example: If the HTTP Session was invalidated due to timeout then the state of the `PipelineSession` may not be valid for some of the PipelineComponents which are sensitive to the information in the `PipelineSession`.

`InvalidPipelineSessionStateException`s or sub-classes of `InvalidPipelineSessionStateException` are meant to be thrown by `PipelineComponents`.

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.

Related Topics

``MessageCatalogException``

Hierarchy
  `Object`
  `Throwable`
  `Exception`
  `ApplicationException`
  `ProcessingException`
  `PipelineFatalException`
  `InvalidPipelineSessionStateException`

All Implemented Interfaces
  `MessageCatalogException`, `Serializable`

## Field Summary

Fields from com.beasys.commerce.foundation.exception`.`ProcessingException``
``MESSAGE_NAMESPACE``

Fields from com.beasys.commerce.foundation.exception`.`ApplicationException``
``embeddedException`, `logMessages`, `userMessages``

## Constructor Summary

InvalidPipelineSessionStateException(`String` message, `Exception` embeddedException) Constructs a InvalidPipelineSessionStateException with the given message and the embedded exception.
InvalidPipelineSessionStateException(`String` namespace, `String` messageKey, `Exception` embeddedException) Constructs a InvalidPipelineSessionStateException.
InvalidPipelineSessionStateException(`String` namespace, `String` messageKey, `Object` argument, `Exception` embeddedException) Constructs a InvalidPipelineSessionStateException.
InvalidPipelineSessionStateException(`String` namespace, `String` messageKey, `Object` argument) Constructs a InvalidPipelineSessionStateException.
InvalidPipelineSessionStateException(`String` namespace, `String` messageKey, `Object` arguments, `Exception` embeddedException) Constructs a InvalidPipelineSessionStateException.
InvalidPipelineSessionStateException(`String` namespace, `String` messageKey, `Object` arguments) Constructs a InvalidPipelineSessionStateException.
InvalidPipelineSessionStateException(`String` namespace, `String` messageKey) Constructs a InvalidPipelineSessionStateException.
InvalidPipelineSessionStateException(`String` message) Constructs a InvalidPipelineSessionStateException with the given message.

## Method Summary

Methods from `com.beasys.commerce.foundation.exception.`ProcessingException``
``setEmbeddedException``

Methods from `com.beasys.commerce.foundation.exception.`ApplicationException``
``addLogMessage`, `addLogMessage`, `addLogMessage`, `addMessage`, `addMessage`, `addMessage`, `addUserMessage`, `addUserMessage`, `addUserMessage`, `getEmbeddedException`, `getLocalizedMessage`, `getLogMessage`, `getLogMessages`, `getMessage`, `getUserMessage`, `getUserMessages`, `toString``

Methods from `java.lang.`Throwable``
`fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

Methods from class `java.lang.`Object``
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods from interface `com.beasys.commerce.foundation.exception.`MessageCatalogException``
``addLogMessage`, `addLogMessage`, `addLogMessage`, `addMessage`, `addMessage`, `addMessage`, `addUserMessage`, `addUserMessage`, `addUserMessage`, `getEmbeddedException`, `getLogMessage`, `getLogMessages`, `getUserMessage`, `getUserMessages``

## Constructor Detail

### InvalidPipelineSessionStateException

    public InvalidPipelineSessionStateException(String message,
                                                Exception embeddedException)

  Constructs a InvalidPipelineSessionStateException with the given message and the embedded exception.

### InvalidPipelineSessionStateException

    public InvalidPipelineSessionStateException(String namespace,
                                                String messageKey,
                                                Exception embeddedException)

  Constructs a InvalidPipelineSessionStateException.

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

### InvalidPipelineSessionStateException

    public InvalidPipelineSessionStateException(String namespace,
                                                String messageKey,
                                                Object argument,
                                                Exception embeddedException)

  Constructs a InvalidPipelineSessionStateException.

  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.

### InvalidPipelineSessionStateException

    public InvalidPipelineSessionStateException(String namespace,
                                                String messageKey,
                                                Object argument)

  Constructs a InvalidPipelineSessionStateException.

  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.

### InvalidPipelineSessionStateException

    public InvalidPipelineSessionStateException(String namespace,
                                                String messageKey,
                                                Object[] arguments,
                                                Exception embeddedException)

  Constructs a InvalidPipelineSessionStateException.

  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.

### InvalidPipelineSessionStateException

    public InvalidPipelineSessionStateException(String namespace,
                                                String messageKey,
                                                Object[] arguments)

  Constructs a InvalidPipelineSessionStateException.

  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.

### InvalidPipelineSessionStateException

    public InvalidPipelineSessionStateException(String namespace,
                                                String messageKey)

  Constructs a InvalidPipelineSessionStateException.

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

### InvalidPipelineSessionStateException

    public InvalidPipelineSessionStateException(String message)

  Constructs a InvalidPipelineSessionStateException with the given message.