Class WorkflowException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
  • Constructor Details

    • WorkflowException

      public WorkflowException(String message)
    • WorkflowException

      public WorkflowException(Throwable cause)
    • WorkflowException

      public WorkflowException(String message, Throwable cause)
  • Method Details

    • getTitleMessage

      public String getTitleMessage()
      Retrieves the title of the exception message.
      Returns:
      Message title, null if not present.
    • setTitleMessage

      public void setTitleMessage(String titleMessage)
      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

      public String getUserMessage()
      Retrieves the user message.
      Returns:
      User message, null if not present.
    • setUserMessage

      public void setUserMessage(String userMessage)
      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.