BEA Systems, Inc.

com.beasys.commerce.foundation.exception
Class PipelineNonFatalException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.beasys.commerce.foundation.exception.ProcessingException
                    |
                    +--com.beasys.commerce.foundation.exception.PipelineNonFatalException
All Implemented Interfaces:
java.io.Serializable

public class PipelineNonFatalException
extends ProcessingException

This class is the base class for all PipelineNonFatalExceptions.

PipelineNonFatalExceptions or sub-classes of PipelineNonFatalException are 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:
MessageCatalog, com.beasys.commerce.foundation.pipeline.PipelineComponent, Serialized Form

Fields inherited from class com.beasys.commerce.foundation.exception.ProcessingException
embeddedException, MESSAGE_NAMESPACE, userMessage
 
Constructor Summary
PipelineNonFatalException(java.lang.String message)
          Constructs a PipelineNonFatalException with the given message.
PipelineNonFatalException(java.lang.String message, java.lang.Exception embeddedException)
          Constructs a PipelineFatalException with the given message and the embedded exception.
PipelineNonFatalException(java.lang.String messageKey, java.lang.Object argument)
          Constructs a PipelineNonFatalException.
PipelineNonFatalException(java.lang.String messageKey, java.lang.Object[] arguments)
          Constructs a PipelineNonFatalException.
PipelineNonFatalException(java.lang.String messageKey, java.lang.Object[] arguments, java.lang.Exception embeddedException)
          Constructs a PipelineNonFatalException.
PipelineNonFatalException(java.lang.String namespace, java.lang.String messageKey)
          Constructs a PipelineNonFatalException.
PipelineNonFatalException(java.lang.String namespace, java.lang.String messageKey, java.lang.Exception embeddedException)
          Constructs a PipelineNonFatalException.
PipelineNonFatalException(java.lang.String namespace, java.lang.String messageKey, java.lang.Object argument)
          Constructs a PipelineNonFatalException.
PipelineNonFatalException(java.lang.String namespace, java.lang.String messageKey, java.lang.Object[] arguments)
          Constructs a PipelineNonFatalException.
PipelineNonFatalException(java.lang.String namespace, java.lang.String messageKey, java.lang.Object[] arguments, java.lang.Exception embeddedException)
          Constructs a PipelineNonFatalException.
PipelineNonFatalException(java.lang.String namespace, java.lang.String messageKey, java.lang.Object argument, java.lang.Exception embeddedException)
          Constructs a PipelineNonFatalException.
 
Methods inherited from class com.beasys.commerce.foundation.exception.ProcessingException
getEmbeddedException, getUserMessage, setEmbeddedException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PipelineNonFatalException

public PipelineNonFatalException(java.lang.String message)
Constructs a PipelineNonFatalException with the given message.
Parameters:
String - the message.

PipelineNonFatalException

public PipelineNonFatalException(java.lang.String message,
                                 java.lang.Exception embeddedException)
Constructs a PipelineFatalException with the given message and the embedded exception.
Parameters:
String - the message.
Exception - the Embedded Exception.

PipelineNonFatalException

public PipelineNonFatalException(java.lang.String messageKey,
                                 java.lang.Object argument)
Constructs a PipelineNonFatalException.

This uses the WLCS default resource bundle ("webflow-targetprocessor") to do a lookup for the given messageKey. Once the message is found the argument is used to replace the place holders in the message.

Parameters:
String - the message key that will be used to do a lookup in the default resource bundle.
String - the argument that replaces the place holder in the message.

PipelineNonFatalException

public PipelineNonFatalException(java.lang.String namespace,
                                 java.lang.String messageKey)
Constructs a PipelineNonFatalException.

This uses the given namespace to do a lookup for the given messageKey

Parameters:
String - the name of the resource bundle which contains the given messageKey.
String - the messageKey to look for in the given resource bundle.

PipelineNonFatalException

public PipelineNonFatalException(java.lang.String namespace,
                                 java.lang.String messageKey,
                                 java.lang.Object argument)
Constructs a PipelineNonFatalException.

This uses the given namespace to do a lookup for the given messageKey

Parameters:
String - the name of the resource bundle which contains the given messageKey
String - the messageKey to look for in the given resource bundle.
String - the argument that replaces the place holder in the message.

PipelineNonFatalException

public PipelineNonFatalException(java.lang.String messageKey,
                                 java.lang.Object[] arguments)
Constructs a PipelineNonFatalException.

This uses the WLCS default resource bundle ("webflow-targetprocessor") to do a lookup for the given messageKey. Once the message is found the argument is used to replaces the place holders in the message.

Parameters:
String - the message key that will be used to do a lookup in the default resource bundle.
Object[] - the arguments that replaces the place holders in the message.

PipelineNonFatalException

public PipelineNonFatalException(java.lang.String namespace,
                                 java.lang.String messageKey,
                                 java.lang.Object[] arguments)
Constructs a PipelineNonFatalException.

This uses the given namespace to do a lookup for the given messageKey

Parameters:
String - the name of the resource bundle which contains the given messageKey
String - the message key to look for in the given resource bundle.
Object[] - the arguments that replaces the place holders in the message.

PipelineNonFatalException

public PipelineNonFatalException(java.lang.String namespace,
                                 java.lang.String messageKey,
                                 java.lang.Exception embeddedException)
Constructs a PipelineNonFatalException.

This uses the given namespace to do a lookup for the given messageKey.

Parameters:
String - the name of the resource bundle which contains the given messageKey.
String - the message key to look for in the given resource bundle.
Exception - the Embedded Exception.

PipelineNonFatalException

public PipelineNonFatalException(java.lang.String namespace,
                                 java.lang.String messageKey,
                                 java.lang.Object argument,
                                 java.lang.Exception embeddedException)
Constructs a PipelineNonFatalException.

This uses the given namespace to do a lookup for the given messageKey

Parameters:
String - the name of the resource bundle which contains the given messageKey
String - the messageKey to look for in the given resource bundle.
String - the argument that replaces the place holder in the message.
Exception - the Embedded Exception.

PipelineNonFatalException

public PipelineNonFatalException(java.lang.String messageKey,
                                 java.lang.Object[] arguments,
                                 java.lang.Exception embeddedException)
Constructs a PipelineNonFatalException.

This uses the WLCS default resource bundle ("webflow-targetprocessor") to do a lookup for the given messageKey. Once the message is found the argument is used to replace the place holders in the message.

Parameters:
String - the message key that will be used to do a lookup in the default resource bundle.
Object[] - the arguments that replaces the place holders in the message.
Exception - the Embedded Exception.

PipelineNonFatalException

public PipelineNonFatalException(java.lang.String namespace,
                                 java.lang.String messageKey,
                                 java.lang.Object[] arguments,
                                 java.lang.Exception embeddedException)
Constructs a PipelineNonFatalException.

This uses the given namespace to do a lookup for the given messageKey

Parameters:
String - the name of the resource bundle which contains the given messageKey
String - the message key to look for in the given resource bundle.
Object[] - the arguments that replaces the place holders in the message.
Exception - the Embedded Exception.

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved