public interface ResourcedThrowable
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage()
Get the message with default locale.
|
java.lang.String |
getMessage(java.util.Locale l)
Get the message for a locale.
|
java.lang.Throwable |
getOriginalException()
Get the exception from where this resourced exception originated.
|
void |
setOriginalException(java.lang.Throwable originalException)
Set the exception from where this resourced exception originated.
|
java.lang.String getMessage()
java.lang.String getMessage(java.util.Locale l)
l
- requested localejava.lang.Throwable getOriginalException()
null
if there is no original
exceptionvoid setOriginalException(java.lang.Throwable originalException)
originalException
- original exception