public class LocalizedException extends Exception
| Modifier and Type | Field and Description |
|---|---|
protected ErrorBundle |
message |
| Constructor and Description |
|---|
LocalizedException(ErrorBundle message)
Constructs a new LocalizedException with the specified localized message.
|
LocalizedException(ErrorBundle message,
Throwable throwable)
Constructs a new LocalizedException with the specified localized message and cause.
|
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getCause() |
ErrorBundle |
getErrorMessage()
Returns the localized error message of the exception.
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected ErrorBundle message
public LocalizedException(ErrorBundle message)
message - the ErrorBundle that contains the message for the exceptionpublic LocalizedException(ErrorBundle message, Throwable throwable)
message - the ErrorBundle that contains the message for the exceptionthrowable - the causepublic ErrorBundle getErrorMessage()
ErrorBundleCopyright © 2015. All rights reserved.