public class I18NException extends RuntimeException implements I18NThrowable
| Constructor and Description |
|---|
I18NException()
Constructs a new throwable without a message or an underlying
cause.
|
I18NException(I18NBoundMessage message)
Constructs a new throwable with the given message, but without
an underlying cause.
|
I18NException(Throwable cause)
Constructs a new throwable without a message, but with the
given underlying cause.
|
I18NException(Throwable cause,
I18NBoundMessage message)
Constructs a new throwable with the given message and
underlying cause.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
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(). |
int |
hashCode() |
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCause, getMessagepublic I18NException()
public I18NException(Throwable cause)
cause - The cause.public I18NException(I18NBoundMessage message)
message - The message.public I18NException(Throwable cause, I18NBoundMessage message)
cause - The cause.message - The message.public String getLocalizedMessage()
I18NThrowableThrowable.getLocalizedMessage().getLocalizedMessage in interface I18NThrowablegetLocalizedMessage in class Throwablepublic String getDetail()
I18NThrowablegetDetail in interface I18NThrowablepublic String getLocalizedDetail()
I18NThrowablegetLocalizedDetail in interface I18NThrowablepublic I18NBoundMessage getI18NBoundMessage()
I18NThrowablegetI18NBoundMessage in interface I18NThrowableCopyright © 2015. All Rights Reserved.