public final class DAMException extends Exception
Constructor and Description |
---|
DAMException(Exception ex)
Instantiates a new
DAMException . |
DAMException(String message)
Instantiates a new
DAMException . |
DAMException(com.onwbp.base.text.UserMessage message)
Instantiates a new
DAMException . |
Modifier and Type | Method and Description |
---|---|
String |
getMessage() |
String |
getMessage(Locale locale)
Returns the message string by locale.
|
com.onwbp.base.text.UserMessage |
getUserMessage()
Returns the user message.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DAMException(String message)
DAMException
.message
- the messagepublic DAMException(com.onwbp.base.text.UserMessage message)
DAMException
.message
- the messagepublic DAMException(Exception ex)
DAMException
.ex
- the exceptionpublic com.onwbp.base.text.UserMessage getUserMessage()
public String getMessage()
getMessage
in class Throwable