© 2005 BEA Systems, Inc.

com.beasys.commerce.foundation.exception
Class WebflowException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjavax.ejb.EJBException
                  extended bycom.beasys.commerce.foundation.exception.SystemException
                      extended bycom.beasys.commerce.foundation.exception.WebflowException
All Implemented Interfaces:
MessageCatalogException, Serializable

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.

See Also:
MessageCatalog, 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.SystemException
logMessages, userMessages
 
Constructor Summary
WebflowException(String messageKey)
          Class constructor taking the key of the associated catalog message.
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)
          Class constructor taking the key of the associated catalog message and message parameter substitution arguments.
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 namespace, String messageKey)
          Class constructor taking the namespace and key of the associated catalog message.
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)
          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)
          Class constructor taking the namespace and key of the associated catalog message and message parameter substitution arguments.
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 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
 Exception getEmbeddedException()
          Gets the embedded exception associated with this exception.
 void setEmbeddedException(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
 
Methods inherited from class javax.ejb.EJBException
getCausedByException, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, 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

WebflowException

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


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


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 namespace,
                        String messageKey)
Class constructor taking the namespace and key of the associated catalog message.


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


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 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

getEmbeddedException

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

Specified by:
getEmbeddedException in interface MessageCatalogException
Overrides:
getEmbeddedException in class SystemException

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