public class LocalizedException
extends java.lang.Exception
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Throwable |
cause |
protected ErrorBundle |
message |
| Constructor and Description |
|---|
LocalizedException(ErrorBundle message)
Constructs a new LocalizedException with the specified localized message.
|
LocalizedException(ErrorBundle message,
java.lang.Throwable throwable)
Constructs a new LocalizedException with the specified localized message and cause.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getCause() |
ErrorBundle |
getErrorMessage()
Returns the localized error message of the exception.
|
protected ErrorBundle message
private java.lang.Throwable cause
public LocalizedException(ErrorBundle message)
message - the ErrorBundle that contains the message for the exceptionpublic LocalizedException(ErrorBundle message, java.lang.Throwable throwable)
message - the ErrorBundle that contains the message for the exceptionthrowable - the causepublic ErrorBundle getErrorMessage()
ErrorBundlepublic java.lang.Throwable getCause()
getCause in class java.lang.ThrowableCopyright © 1998-2014 Gamma Technologies. All Rights Reserved.