© 2002 BEA Systems, Inc.


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

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.beasys.commerce.foundation.exception.ApplicationException
                    |
                    +--com.bea.commerce.ebusiness.price.service.PricingException
Direct Known Subclasses:
PriceEngineException

public class PricingException
extends ApplicationException

A PricingException indicates a failure of the price service during a pricing operation.

See Also:
PriceService, Serialized Form

Field Summary
static java.lang.String MESSAGE_KEY
           
static java.lang.String MESSAGE_NAMESPACE
          The name of the resource bundle
 
Fields inherited from class com.beasys.commerce.foundation.exception.ApplicationException
embeddedException, logMessages, userMessages
 
Constructor Summary
PricingException(java.lang.Object argument)
          Constructs a new exception with the message indicated by the specified object.
PricingException(java.lang.String messageKey)
          Constructs a new message using the specified catalog message key.
PricingException(java.lang.String messageKey, java.lang.Exception exception)
          Class constructor taking key of the associated catalog message and an embedded exception.
PricingException(java.lang.String messageKey, java.lang.Object argument)
          Class constructor taking key of the associated catalog message and a message parameter substitution argument.
PricingException(java.lang.String messageKey, java.lang.Object[] arguments)
          Class constructor taking key of the associated catalog message and message parameter substitution arguments.
PricingException(java.lang.String messageKey, java.lang.Object[] arguments, java.lang.Exception exception)
          Constructs a new exception with the specified key and applys the specifed arguments to the catalog message.
PricingException(java.lang.String messageKey, java.lang.Object argument, java.lang.Exception exception)
          Constructs a new exception with the specified key and applys the specifed argument to the catalog message.
 
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, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MESSAGE_NAMESPACE

public static final java.lang.String MESSAGE_NAMESPACE
The name of the resource bundle

MESSAGE_KEY

public static final java.lang.String MESSAGE_KEY
Constructor Detail

PricingException

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

Parameters:
argument - message object for the exception.

PricingException

public PricingException(java.lang.String messageKey)
Constructs a new message using the specified catalog message key.

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

PricingException

public PricingException(java.lang.String messageKey,
                        java.lang.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 PricingException.

PricingException

public PricingException(java.lang.String messageKey,
                        java.lang.Object argument,
                        java.lang.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 PricingException.

PricingException

public PricingException(java.lang.String messageKey,
                        java.lang.Object[] arguments,
                        java.lang.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 PricingException.

PricingException

public PricingException(java.lang.String messageKey,
                        java.lang.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.

PricingException

public PricingException(java.lang.String messageKey,
                        java.lang.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.

© 2002 BEA Systems, Inc.

Copyright © 2002 BEA Systems, Inc. All Rights Reserved