Class DAMException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.orchestranetworks.addon.dama.ext.exception.DAMException
- All Implemented Interfaces:
Serializable
Defines the exception for the {addon.label}.
- Since:
- 1.6.0
- See Also:
-
Constructor Summary
ConstructorDescriptionDAMException
(com.onwbp.base.text.UserMessage message) Instantiates a newDAMException
.Instantiates a newDAMException
.DAMException
(String message) Instantiates a newDAMException
. -
Method Summary
Modifier and TypeMethodDescriptiongetMessage
(Locale locale) Returns the message string by locale.com.onwbp.base.text.UserMessage
Returns the user message.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DAMException
Instantiates a newDAMException
.- Parameters:
message
- the message
-
DAMException
public DAMException(com.onwbp.base.text.UserMessage message) Instantiates a newDAMException
.- Parameters:
message
- the message
-
DAMException
Instantiates a newDAMException
.- Parameters:
ex
- the exception
-
-
Method Details
-
getUserMessage
public com.onwbp.base.text.UserMessage getUserMessage()Returns the user message. -
getMessage
- Overrides:
getMessage
in classThrowable
-
getMessage
Returns the message string by locale.- Parameters:
locale
- the locale- Returns:
- the message
-