© 2005 BEA Systems, Inc.

com.beasys.commerce.foundation.exception
Class ProcessingException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.beasys.commerce.foundation.exception.ApplicationException
              extended bycom.beasys.commerce.foundation.exception.ProcessingException
All Implemented Interfaces:
MessageCatalogException, Serializable
Direct Known Subclasses:
BadInputException, ConfigurationException, PipelineFatalException, PipelineNonFatalException

public class ProcessingException
extends ApplicationException

This class is the base class for all processing exceptions.

ProcessingExceptions or sub-classes of ProcessingException with the exception of ProcessingException and ProcessingException are meant to be thrown by classes that implement the InputProcessor interface. PipelineFatalException and its sub-clasess are meant to be thrown by classes that implement the PipelineComponent interface. PipelineNonFatalException and its sub-classes are meant to be thrown by classes that implement the PipelineComponent interface

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

Field Summary
static String MESSAGE_NAMESPACE
          The name of the resource bundle that will be used to fetch the exception messages.
 
Fields inherited from class com.beasys.commerce.foundation.exception.ApplicationException
embeddedException, logMessages, userMessages
 
Constructor Summary
ProcessingException(String messageKey)
          Class constructor taking the key of the associated catalog message.
ProcessingException(String messageKey, Exception exception)
          Class constructor taking the key of the associated catalog message and an embedded exception.
ProcessingException(String messageKey, Object argument)
          Class constructor taking the key of the associated catalog message and a message parameter substitution argument.
ProcessingException(String messageKey, Object[] arguments)
          Class constructor taking the key of the associated catalog message and message parameter substitution arguments.
ProcessingException(String messageKey, Object[] arguments, Exception exception)
          Class constructor taking the key of the associated catalog message, message parameter substitution arguments, and an embedded exception.
ProcessingException(String namespace, String messageKey)
          Class constructor taking the namespace and key of the associated catalog message.
ProcessingException(String namespace, String messageKey, Exception exception)
          Class constructor taking the namespace and key of the associated catalog message and an embedded exception.
ProcessingException(String namespace, String messageKey, Object argument)
          Class constructor taking the namespace and key of the associated catalog message and a message parameter substitution argument.
ProcessingException(String namespace, String messageKey, Object[] arguments)
          Class constructor taking the namespace and key of the associated catalog message and message parameter substitution arguments.
ProcessingException(String namespace, String messageKey, Object[] arguments, Exception exception)
          Class constructor taking the namespace and key of the associated catalog message, message parameter substitution arguments, and an embedded exception.
ProcessingException(String namespace, String messageKey, Object argument, Exception exception)
          Class constructor taking the namespace and key of the associated catalog message, message parameter substitution argument, and an embedded exception.
 
Method Summary
 void setEmbeddedException(Exception exception)
          Associates a given exception with this exception.
 
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, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MESSAGE_NAMESPACE

public static final String MESSAGE_NAMESPACE
The name of the resource bundle that will be used to fetch the exception messages.

See Also:
Constant Field Values
Constructor Detail

ProcessingException

public ProcessingException(String messageKey)
Class constructor taking the key of the associated catalog message.


ProcessingException

public ProcessingException(String messageKey,
                           Exception exception)
Class constructor taking the key of the associated catalog message and an embedded exception.


ProcessingException

public ProcessingException(String messageKey,
                           Object argument)
Class constructor taking the key of the associated catalog message and a message parameter substitution argument.


ProcessingException

public ProcessingException(String messageKey,
                           Object[] arguments)
Class constructor taking the key of the associated catalog message and message parameter substitution arguments.


ProcessingException

public ProcessingException(String messageKey,
                           Object[] arguments,
                           Exception exception)
Class constructor taking the key of the associated catalog message, message parameter substitution arguments, and an embedded exception.


ProcessingException

public ProcessingException(String namespace,
                           String messageKey)
Class constructor taking the namespace and key of the associated catalog message.


ProcessingException

public ProcessingException(String namespace,
                           String messageKey,
                           Exception exception)
Class constructor taking the namespace and key of the associated catalog message and an embedded exception.


ProcessingException

public ProcessingException(String namespace,
                           String messageKey,
                           Object argument)
Class constructor taking the namespace and key of the associated catalog message and a message parameter substitution argument.


ProcessingException

public ProcessingException(String namespace,
                           String messageKey,
                           Object[] arguments)
Class constructor taking the namespace and key of the associated catalog message and message parameter substitution arguments.


ProcessingException

public ProcessingException(String namespace,
                           String messageKey,
                           Object[] arguments,
                           Exception exception)
Class constructor taking the namespace and key of the associated catalog message, message parameter substitution arguments, and an embedded exception.


ProcessingException

public ProcessingException(String namespace,
                           String messageKey,
                           Object argument,
                           Exception exception)
Class constructor taking the namespace and key of the associated catalog message, message parameter substitution argument, and an embedded exception.

Method Detail

setEmbeddedException

public void setEmbeddedException(Exception exception)
Associates a given exception with this exception.

Parameters:
exception - The new embedded exception.

© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved