com.beasys.commerce.foundation.exception
Interface MessageCatalogException

All Known Implementing Classes:
ApplicationException, AssociationAlreadyExistsException, AssociationCreationException, AssociationDeleteException, AssociationException, AssociationNotFoundException, AuthorizationException, BadInputException, BMPException, CaptureException, CatalogCreateException, CatalogDeploymentException, CatalogException, CatalogFinderException, CatalogOperationNotAuthorizedException, CatalogRemoveException, CatalogRootException, CategoryStructureCorruptException, CategoryStructureException, ConfigurationException, CreateSystemException, CurrencyMismatchException, DeploymentException, DiscountCreationException, DiscountException, DiscountInUseException, DiscountNotFoundException, DiscountParsingException, DiscountSystemException, FatalApplicationException, FatalWorkflowTransitionException, FinderSystemException, GeneralServiceException, IllegalWorkflowTransitionException, InconsistentStateException, InvalidArgumentException, InvalidAssociationException, InvalidConversionPolicyException, InvalidCreditCardException, InvalidCurrencyException, InvalidPipelineSessionStateException, InvalidPriceException, InvalidQuantityException, InvalidUnitException, ItemNotInShoppingCartException, MinimumPriceException, NamingSystemException, OrderInventoryException, OrderInvoicingException, OrderPackingException, OrderShippingException, PaymentException, PaymentProcessException, PipelineException, PipelineFatalException, PipelineNonFatalException, PriceEngineException, PricingException, ProcessingException, QuoteException, RemoteSystemException, RowNotFoundException, ServiceConfigurationException, ServiceUnavailableException, SettleException, ShippingMethodException, SystemException, TaxException, TaxUserException, UnimplementedException, UseCountLimitException, WebflowException, WorkflowInstantiationException

Deprecated

@Deprecated
public interface MessageCatalogException

The MessageCatalogException interface is the interface implemented by all MessageCatalog-aware exceptions. All such exceptions should contain both log and user messages that are constructed using the MessageCatalog.

See Also
MessageCatalog

Method Summary
 void addLogMessage(String namespace, String messageKey)
          Deprecated Adds a new log catalog message to the stack of associated messages.
 void addLogMessage(String namespace, String messageKey, Object argument)
          Deprecated Adds a new log catalog message to the stack of associated messages.
 void addLogMessage(String namespace, String messageKey, Object[] aguments)
          Deprecated Adds a new log catalog message to the stack of associated messages.
 void addMessage(String namespace, String messageKey)
          Deprecated Adds a new user and log catalog message to the stack of associated messages.
 void addMessage(String namespace, String messageKey, Object argument)
          Deprecated Adds a new user catalog message to the stack of associated messages.
 void addMessage(String namespace, String messageKey, Object[] aguments)
          Deprecated Adds a new user catalog message to the stack of associated messages.
 void addUserMessage(String namespace, String messageKey)
          Deprecated Adds a new user catalog message to the stack of associated messages.
 void addUserMessage(String namespace, String messageKey, Object argument)
          Deprecated Adds a new user catalog message to the stack of associated messages.
 void addUserMessage(String namespace, String messageKey, Object[] aguments)
          Deprecated Adds a new user catalog message to the stack of associated messages.
 Exception getEmbeddedException()
          Deprecated Gets the embedded exception associated with this exception.
 String getLogMessage()
          Deprecated Returns the first log catalog message associated with this exception.
 Iterator getLogMessages()
          Deprecated Returns an iterator over all the log catalog messages associated with this exception.
 String getUserMessage()
          Deprecated Returns the first user catalog message associated with this exception.
 Iterator getUserMessages()
          Deprecated Returns an iterator over all the user catalog messages associated with this exception.
 

Method Detail

getEmbeddedException

Exception getEmbeddedException()
Deprecated 
Gets the embedded exception associated with this exception.

Returns
The embedded exception.

getLogMessage

String getLogMessage()
Deprecated 
Returns the first log catalog message associated with this exception.

Returns
The first log catalog message associated with this exception.

getLogMessages

Iterator getLogMessages()
Deprecated 
Returns an iterator over all the log catalog messages associated with this exception.

Returns
An iterator over all log catalog messages.

getUserMessage

String getUserMessage()
Deprecated 
Returns the first user catalog message associated with this exception.

Returns
The user catalog message associated with this exception.

getUserMessages

Iterator getUserMessages()
Deprecated 
Returns an iterator over all the user catalog messages associated with this exception.

Returns
An iterator over all user catalog messages.

addLogMessage

void addLogMessage(String namespace,
                   String messageKey)
Deprecated 
Adds a new log catalog message to the stack of associated messages.

Parameters
namespace - Log catalog message namespace.
messageKey - Log catalog message key.

addLogMessage

void addLogMessage(String namespace,
                   String messageKey,
                   Object argument)
Deprecated 
Adds a new log catalog message to the stack of associated messages.

Parameters
namespace - Log catalog message namespace.
messageKey - Log catalog message key.
argument - Message parameter substitution argument.

addLogMessage

void addLogMessage(String namespace,
                   String messageKey,
                   Object[] aguments)
Deprecated 
Adds a new log catalog message to the stack of associated messages.

Parameters
namespace - Log catalog message namespace.
messageKey - Log catalog message key.
arguments - Message parameter substitution arguments.

addUserMessage

void addUserMessage(String namespace,
                    String messageKey)
Deprecated 
Adds a new user catalog message to the stack of associated messages.

Parameters
namespace - User catalog message namespace.
messageKey - User catalog message key.

addUserMessage

void addUserMessage(String namespace,
                    String messageKey,
                    Object argument)
Deprecated 
Adds a new user catalog message to the stack of associated messages.

Parameters
namespace - User catalog message namespace.
messageKey - User catalog message key.
argument - Message parameter substitution argument.

addUserMessage

void addUserMessage(String namespace,
                    String messageKey,
                    Object[] aguments)
Deprecated 
Adds a new user catalog message to the stack of associated messages.

Parameters
namespace - User catalog message namespace.
messageKey - User catalog message key.
arguments - Message parameter substitution arguments.

addMessage

void addMessage(String namespace,
                String messageKey)
Deprecated 
Adds a new user and log catalog message to the stack of associated messages.

Parameters
namespace - User and log catalog message namespace.
messageKey - User and log catalog message key.

addMessage

void addMessage(String namespace,
                String messageKey,
                Object argument)
Deprecated 
Adds a new user catalog message to the stack of associated messages.

Parameters
namespace - User and log catalog message namespace.
messageKey - User and log catalog message key.
argument - Message parameter substitution argument.

addMessage

void addMessage(String namespace,
                String messageKey,
                Object[] aguments)
Deprecated 
Adds a new user catalog message to the stack of associated messages.

Parameters
namespace - User and log catalog message namespace.
messageKey - User and log catalog message key.
arguments - Message parameter substitution arguments.


Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.