com.beasys.commerce.foundation.exception
Class PipelineException
com.beasys.commerce.foundation.exception.SystemException
|
+--com.beasys.commerce.foundation.exception.PipelineException
- All Implemented Interfaces:
- MessageCatalogException
- public class PipelineException
- extends SystemException
A PipelineException
exception signals a fatal error in the pipeline sub-system.
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:
MessageCatalog
Field Summary |
static java.lang.String |
MESSAGE_NAMESPACE
The name of the resource bundle |
Constructor Summary |
PipelineException(java.lang.String messageKey)
Class constructor taking the key of the associated catalog message. |
PipelineException(java.lang.String namespace,
java.lang.String messageKey,
java.lang.Object argument,
java.lang.Exception exception)
Class constructor taking the namespace and key of the associated catalog message,
message parameter substitution argument, and an embedded exception. |
Method Summary |
java.lang.Exception |
getEmbeddedException()
Gets the embedded exception associated with this exception. |
void |
setEmbeddedException(java.lang.Exception exception)
Associates a given exception with this exception. |
Methods inherited from class com.beasys.commerce.foundation.exception.SystemException |
addLogMessage, addLogMessage, addLogMessage, addMessage, addMessage, addMessage, addUserMessage, addUserMessage, addUserMessage, getLocalizedMessage, getLogMessage, getLogMessages, getMessage, getUserMessage, getUserMessages, toString |
MESSAGE_NAMESPACE
public static final java.lang.String MESSAGE_NAMESPACE
- The name of the resource bundle
PipelineException
public PipelineException(java.lang.String messageKey)
- Class constructor taking the key of the associated catalog message.
- Parameters:
messageKey
- The associated catalog message key.
PipelineException
public PipelineException(java.lang.String namespace,
java.lang.String messageKey,
java.lang.Object argument,
java.lang.Exception exception)
- Class constructor taking the namespace and key of the associated catalog message,
message parameter substitution argument, and an embedded exception.
- Parameters:
namespace
- The associated catalog message namespace.messageKey
- The associated catalog message key.argument
- The message parameter substitution argument.exception
- The embedded exception.
getEmbeddedException
public java.lang.Exception getEmbeddedException()
- Description copied from interface:
MessageCatalogException
- Gets the embedded exception associated with this exception.
- Overrides:
getEmbeddedException
in class SystemException
- Following copied from interface:
com.beasys.commerce.foundation.exception.MessageCatalogException
- Returns:
- The embedded exception.
setEmbeddedException
public void setEmbeddedException(java.lang.Exception exception)
- Associates a given exception with this exception.
- Parameters:
exception
- The new embedded exception.
Copyright © 2001 BEA Systems, Inc. All Rights Reserved