|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@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
.
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 |
---|
Exception getEmbeddedException()
String getLogMessage()
Iterator getLogMessages()
String getUserMessage()
Iterator getUserMessages()
void addLogMessage(String namespace, String messageKey)
namespace
- Log catalog message namespace.messageKey
- Log catalog message key.void addLogMessage(String namespace, String messageKey, Object argument)
namespace
- Log catalog message namespace.messageKey
- Log catalog message key.argument
- Message parameter substitution argument.void addLogMessage(String namespace, String messageKey, Object[] aguments)
namespace
- Log catalog message namespace.messageKey
- Log catalog message key.arguments
- Message parameter substitution arguments.void addUserMessage(String namespace, String messageKey)
namespace
- User catalog message namespace.messageKey
- User catalog message key.void addUserMessage(String namespace, String messageKey, Object argument)
namespace
- User catalog message namespace.messageKey
- User catalog message key.argument
- Message parameter substitution argument.void addUserMessage(String namespace, String messageKey, Object[] aguments)
namespace
- User catalog message namespace.messageKey
- User catalog message key.arguments
- Message parameter substitution arguments.void addMessage(String namespace, String messageKey)
namespace
- User and log catalog message namespace.messageKey
- User and log catalog message key.void addMessage(String namespace, String messageKey, Object argument)
namespace
- User and log catalog message namespace.messageKey
- User and log catalog message key.argument
- Message parameter substitution argument.void addMessage(String namespace, String messageKey, Object[] aguments)
namespace
- User and log catalog message namespace.messageKey
- User and log catalog message key.arguments
- Message parameter substitution arguments.
|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |