public class DPRAException extends Exception
| Constructor and Description |
|---|
DPRAException(String message)
Constructs a new instance without a cause.
|
DPRAException(String message,
Throwable cause)
Constructs a new instance with a cause.
|
DPRAException(com.onwbp.base.text.UserMessage message)
Constructs a new instance without a cause.
|
DPRAException(com.onwbp.base.text.UserMessage message,
Throwable cause)
Constructs a new instance with a cause.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage() |
String |
getMessage(Locale locale)
Returns the error message for a locale.
|
com.onwbp.base.text.UserMessage |
getUserMessage()
Returns the localized error message.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic DPRAException(String message)
message - The error message.public DPRAException(String message, Throwable cause)
message - The error message.cause - The wrapped error.public DPRAException(com.onwbp.base.text.UserMessage message)
message - The localized error message.public DPRAException(com.onwbp.base.text.UserMessage message,
Throwable cause)
message - The localized error message.cause - The wrapped error.public com.onwbp.base.text.UserMessage getUserMessage()
public String getMessage()
getMessage in class Throwable