public class I18nException
extends java.lang.Exception
Constructor and Description |
---|
I18nException(java.lang.String message,
java.lang.String key)
Creates a new exception with an error message.
|
I18nException(java.lang.String message,
java.lang.String key,
java.lang.Throwable cause)
Creates a new exception with an error message and a cause exception.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLocalizedMessage() |
void |
showError()
Show the exception error in through the NotificationManager.
|
public I18nException(java.lang.String message, java.lang.String key)
message
- the error messagekey
- the i18n key to localize the exception messagepublic I18nException(java.lang.String message, java.lang.String key, java.lang.Throwable cause)
message
- the error messagekey
- the i18n key to localize the exception messagecause
- the error that caused the exception