public class LocalizableException extends Exception
Constructor and Description |
---|
LocalizableException()
Constructs an exception with no associated message key.
|
LocalizableException(String uiMessageKey)
Constructs an exception with the given message key.
|
LocalizableException(String uiMessageKey,
String logMessage)
Constructs an exception with the given message key, and the given log
message (internal).
|
LocalizableException(String uiMessageKey,
String logMessage,
Throwable cause)
Constructs an exception with the given message key, given log message
(internal), and cause.
|
LocalizableException(String uiMessageKey,
Throwable cause)
Constructs an exception with the given message key and cause.
|
Modifier and Type | Method and Description |
---|---|
String |
getMessageKey()
Returns the message key associated with this exception (may be null).
|
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public LocalizableException()
public LocalizableException(String uiMessageKey)
uiMessageKey
- the message key for an external UI messagepublic LocalizableException(String uiMessageKey, String logMessage)
uiMessageKey
- the message key for an external UI messagelogMessage
- the internal log messagepublic LocalizableException(String uiMessageKey, String logMessage, Throwable cause)
uiMessageKey
- the message key for an external UI messagelogMessage
- the internal log messagecause
- the underlying exception that caused this exceptionpublic LocalizableException(String uiMessageKey, Throwable cause)
uiMessageKey
- the message key for an external UI messagecause
- the underlying exception that caused this exceptionCopyright © 2015. All Rights Reserved.