|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface I18NThrowable
An internationalized throwable. At creation, the message may be
set; upon message retrieval, getMessage() and getLocalizedMessage() behave exactly as mandated by Throwable, and as implemented by JDK throwables. getDetail() and getLocalizedDetail() return a raw and
localized message respectively that includes both the receiver's
message as well as the associated message of the underlying cause
(both combined; or either one; or null, if none is set). A raw
message comprises the provider, message, and entry IDs, as well as
the message parameters; a localized message is looked up via a
message's associated provider.
| Method Summary | |
|---|---|
Throwable |
getCause()
Returns the receiver's underlying cause, as implemented by Throwable.getCause(). |
String |
getDetail()
Returns the receiver's raw message, possibly combined with the raw message of the receiver's underlying cause. |
I18NBoundMessage |
getI18NBoundMessage()
Returns the receiver's message. |
String |
getLocalizedDetail()
Returns the receiver's localized message, possibly combined with the localized message of the receiver's underlying cause. |
String |
getLocalizedMessage()
Returns the receiver's localized message, as implemented by Throwable.getLocalizedMessage(). |
String |
getMessage()
Returns the receiver's raw message, as implemented by Throwable.getMessage(). |
| Method Detail |
|---|
String getMessage()
Throwable.getMessage().
String getLocalizedMessage()
Throwable.getLocalizedMessage().
Throwable getCause()
Throwable.getCause().
String getDetail()
String getLocalizedDetail()
I18NBoundMessage getI18NBoundMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||