public interface I18NThrowable extends Serializable
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.| Modifier and Type | Method and Description |
|---|---|
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(). |
String getMessage()
Throwable.getMessage().String getLocalizedMessage()
Throwable.getLocalizedMessage().Throwable getCause()
Throwable.getCause().String getDetail()
String getLocalizedDetail()
I18NBoundMessage getI18NBoundMessage()
Copyright © 2015. All Rights Reserved.