WebflowException Class

com.beasys.commerce.foundation.exception
WebflowException Class

public class WebflowException

    extends SystemException

A WebflowException 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.

Related Topics

MessageCatalog


Hierarchy
Object
  Throwable
    Exception
      RuntimeException
        EJBException
          SystemException
            WebflowException
All Implemented Interfaces

MessageCatalogException, Serializable

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.SystemException
logMessages, userMessages
 

Constructor Summary

WebflowException(String messageKey, Exception exception)

Class constructor taking the key of the associated catalog message and an embedded exception.
WebflowException(String messageKey, Object argument)

Class constructor taking the key of the associated catalog message and a message parameter substitution argument.
WebflowException(String messageKey, Object arguments, Exception exception)

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

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

Class constructor taking the namespace and key of the associated catalog message and an embedded exception.
WebflowException(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.
WebflowException(String namespace, String messageKey, Object argument)

Class constructor taking the namespace and key of the associated catalog message and a message parameter substitution argument.
WebflowException(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.
WebflowException(String namespace, String messageKey, Object arguments)

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

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

Class constructor taking the key of the associated catalog message.
 

Method Summary

public Exception
getEmbeddedException()
Gets the embedded exception associated with this exception.
public void
setEmbeddedException(Exception exception)
Associates a given exception with this exception.
 
Methods from  com.beasys.commerce.foundation.exception.SystemException
addLogMessage, addLogMessage, addLogMessage, addMessage, addMessage, addMessage, addUserMessage, addUserMessage, addUserMessage, getLocalizedMessage, getLogMessage, getLogMessages, getMessage, getUserMessage, getUserMessages, toString
 
Methods from  javax.ejb.EJBException
getCausedByException, getMessage, printStackTrace, printStackTrace, printStackTrace
 
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

WebflowException

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

WebflowException

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

WebflowException

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

WebflowException

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

WebflowException

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

WebflowException

public WebflowException(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.

WebflowException

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

WebflowException

public WebflowException(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.

WebflowException

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

WebflowException

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

WebflowException

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

Method Detail

getEmbeddedException() Method

public Exception getEmbeddedException()
Description copied from MessageCatalogException.getEmbeddedException()
Gets the embedded exception associated with this exception.

Overrides
SystemException.getEmbeddedException()

Returns

The embedded exception.

setEmbeddedException(Exception) Method

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

Parameters

exception
The new embedded exception.