ProcessingException Class

com.beasys.commerce.foundation.exception
ProcessingException Class

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.

Related Topics

MessageCatalogException


Hierarchy
Object
  Throwable
    Exception
      ApplicationException
        ProcessingException
All Implemented Interfaces

MessageCatalogException, Serializable
Direct Known Subclasses

BadInputException, ConfigurationException, PipelineFatalException, PipelineNonFatalException

Field Summary

public static final String
MESSAGE_NAMESPACE
The name of the resource bundle that will be used to fetch the exception messages.
   
Fields from  com.beasys.commerce.foundation.exception.ApplicationException
embeddedException, logMessages, userMessages
 

Constructor Summary

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, Exception exception)

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

Class constructor taking the key of the associated catalog message and message parameter substitution arguments.
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, Exception exception)

Class constructor taking the namespace and key of the associated catalog message, message parameter substitution argument, 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, 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 arguments)

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

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

Class constructor taking the key of the associated catalog message.
 

Method Summary

public void
setEmbeddedException(Exception exception)
Associates a given exception with this exception.
 
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
 

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.

 

Constructor Detail

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, 
                           Exception exception)
Class constructor taking the key of the associated catalog message, message parameter substitution arguments, and an embedded exception.

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 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, 
                           Exception exception)
Class constructor taking the namespace and key of the associated catalog message, message parameter substitution argument, 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, 
                           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[] 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)
Class constructor taking the namespace and key of the associated catalog message.

ProcessingException

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

Method Detail

setEmbeddedException(Exception) Method

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

Parameters

exception
The new embedded exception.