|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The MessageCatalogException
interface is a marker 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(java.lang.String namespace,
java.lang.String messageKey)
Adds a new log catalog message to the stack of associated messages. |
void |
addLogMessage(java.lang.String namespace,
java.lang.String messageKey,
java.lang.Object argument)
Adds a new log catalog message to the stack of associated messages. |
void |
addLogMessage(java.lang.String namespace,
java.lang.String messageKey,
java.lang.Object[] aguments)
Adds a new log catalog message to the stack of associated messages. |
void |
addMessage(java.lang.String namespace,
java.lang.String messageKey)
Adds a new user and log catalog message to the stack of associated messages. |
void |
addMessage(java.lang.String namespace,
java.lang.String messageKey,
java.lang.Object argument)
Adds a new user catalog message to the stack of associated messages. |
void |
addMessage(java.lang.String namespace,
java.lang.String messageKey,
java.lang.Object[] aguments)
Adds a new user catalog message to the stack of associated messages. |
void |
addUserMessage(java.lang.String namespace,
java.lang.String messageKey)
Adds a new user catalog message to the stack of associated messages. |
void |
addUserMessage(java.lang.String namespace,
java.lang.String messageKey,
java.lang.Object argument)
Adds a new user catalog message to the stack of associated messages. |
void |
addUserMessage(java.lang.String namespace,
java.lang.String messageKey,
java.lang.Object[] aguments)
Adds a new user catalog message to the stack of associated messages. |
java.lang.Exception |
getEmbeddedException()
Gets the embedded exception associated with this exception. |
java.lang.String |
getLogMessage()
Returns the first log catalog message associated with this exception. |
java.util.Iterator |
getLogMessages()
Returns an iterator over all the log catalog messages associated with this exception. |
java.lang.String |
getUserMessage()
Returns the first user catalog message associated with this exception. |
java.util.Iterator |
getUserMessages()
Returns an iterator over all the user catalog messages associated with this exception. |
Method Detail |
public java.lang.Exception getEmbeddedException()
public java.lang.String getLogMessage()
public java.util.Iterator getLogMessages()
public java.lang.String getUserMessage()
public java.util.Iterator getUserMessages()
public void addLogMessage(java.lang.String namespace, java.lang.String messageKey)
namespace
- Log catalog message namespace.messageKey
- Log catalog message key.public void addLogMessage(java.lang.String namespace, java.lang.String messageKey, java.lang.Object argument)
namespace
- Log catalog message namespace.messageKey
- Log catalog message key.argument
- Message parameter substitution argument.public void addLogMessage(java.lang.String namespace, java.lang.String messageKey, java.lang.Object[] aguments)
namespace
- Log catalog message namespace.messageKey
- Log catalog message key.arguments
- Message parameter substitution arguments.public void addUserMessage(java.lang.String namespace, java.lang.String messageKey)
namespace
- User catalog message namespace.messageKey
- User catalog message key.public void addUserMessage(java.lang.String namespace, java.lang.String messageKey, java.lang.Object argument)
namespace
- User catalog message namespace.messageKey
- User catalog message key.argument
- Message parameter substitution argument.public void addUserMessage(java.lang.String namespace, java.lang.String messageKey, java.lang.Object[] aguments)
namespace
- User catalog message namespace.messageKey
- User catalog message key.arguments
- Message parameter substitution arguments.public void addMessage(java.lang.String namespace, java.lang.String messageKey)
namespace
- User and log catalog message namespace.messageKey
- User and log catalog message key.public void addMessage(java.lang.String namespace, java.lang.String messageKey, java.lang.Object argument)
namespace
- User and log catalog message namespace.messageKey
- User and log catalog message key.argument
- Message parameter substitution argument.public void addMessage(java.lang.String namespace, java.lang.String messageKey, java.lang.Object[] aguments)
namespace
- User and log catalog message namespace.messageKey
- User and log catalog message key.arguments
- Message parameter substitution arguments.
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |