com.bea.commerce.ebusiness.price.service
Class PriceEngineException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.beasys.commerce.foundation.exception.ApplicationException
              extended by com.bea.commerce.ebusiness.price.service.PricingException
                  extended by com.bea.commerce.ebusiness.price.service.PriceEngineException
All Implemented Interfaces
MessageCatalogException, Serializable

public class PriceEngineException
extends PricingException

A PriceEngineException indicates a failure of the price engine during a pricing operation.

See Also
PriceService, PricingException, Serialized Form

Field Summary
static String MESSAGE_KEY
          The name of the resource bundle
 
Fields inherited from class com.bea.commerce.ebusiness.price.service.PricingException
MESSAGE_NAMESPACE
 
Fields inherited from class com.beasys.commerce.foundation.exception.ApplicationException
embeddedException, logMessages, userMessages
 
Constructor Summary
PriceEngineException(Object argument)
          Constructs a new exception with the message indicated by the specified object.
PriceEngineException(String messageKey)
          Constructs a new message using the specified catalog message key.
PriceEngineException(String messageKey, Exception exception)
          Class constructor taking key of the associated catalog message and an embedded exception.
PriceEngineException(String messageKey, Object argument)
          Class constructor taking key of the associated catalog message and a message parameter substitution argument.
PriceEngineException(String messageKey, Object[] arguments)
          Class constructor taking key of the associated catalog message and message parameter substitution arguments.
PriceEngineException(String messageKey, Object[] arguments, Exception exception)
          Constructs a new exception with the specified key and applys the specifed arguments to the catalog message.
PriceEngineException(String messageKey, Object argument, Exception exception)
          Constructs a new exception with the specified key and applys the specifed argument to the catalog message.
 
Method Summary
 
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_KEY

public static final String MESSAGE_KEY
The name of the resource bundle

See Also
Constants Summary
Constructor Detail

PriceEngineException

public PriceEngineException(Object argument)
Constructs a new exception with the message indicated by the specified object.

Parameters
argument - message string for the exception.

PriceEngineException

public PriceEngineException(String messageKey)
Constructs a new message using the specified catalog message key.

Parameters
messageKey - The catalog message key to use to construct the exception.

PriceEngineException

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

Parameters
messageKey - The catalog message key to use to construct the exception.
exception - the exception to be wrapped by the PriceEngineException.

PriceEngineException

public PriceEngineException(String messageKey,
                            Object argument,
                            Exception exception)
Constructs a new exception with the specified key and applys the specifed argument to the catalog message. The new exception is wrapped around the specified exception

Parameters
messageKey - The catalog message key to use to construct the exception.
argument - an argument to the catalog message.
exception - the exception to be wrapped by the PriceEngineException.

PriceEngineException

public PriceEngineException(String messageKey,
                            Object[] arguments,
                            Exception exception)
Constructs a new exception with the specified key and applys the specifed arguments to the catalog message. The new exception is wrapped around the specified exception

Parameters
messageKey - The catalog message key to use to construct the exception.
arguments - an array of arguments to the catalog message.
exception - the exception to be wrapped by the PriceEngineException.

PriceEngineException

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

Parameters
messageKey - The catalog message key to use to construct the exception.
argument - an argument to the catalog message.

PriceEngineException

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

Parameters
messageKey - The catalog message key to use to construct the exception.
arguments - an array of arguments to the catalog message.


Copyright © 2006 BEA Systems, Inc. All Rights Reserved