Class WorkflowException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
-
Constructor Details
-
WorkflowException
-
WorkflowException
-
WorkflowException
-
-
Method Details
-
getTitleMessage
Retrieves the title of the exception message.- Returns:
- Message title, null if not present.
-
setTitleMessage
Sets the title of the exception. This title will be displayed to the user. If it is not set, the default title will be displayed.- Parameters:
titleMessage
- the title of the message displayed to the user.
-
getUserMessage
Retrieves the user message.- Returns:
- User message, null if not present.
-
setUserMessage
Sets the exception message. This message will be displayed to the user. If it is not set, a message resulting from this exception will be displayed, which will be the constructor's message, the cause or the default message of this exception.- Parameters:
userMessage
- the message that will be displayed to the user.
-