Class S2SException

All Implemented Interfaces:
Serializable

public class S2SException extends RuntimeException
This class is for exceptions that occur in the s2s subsystem.
See Also:
  • Field Details

  • Constructor Details

    • S2SException

      public S2SException()
    • S2SException

      public S2SException(Exception ex)
    • S2SException

      public S2SException(String message, Exception ex)
    • S2SException

      public S2SException(String msg)
    • S2SException

      public S2SException(String errorKey, String msg)
    • S2SException

      public S2SException(String errorKey, String msg, String... params)
    • S2SException

      public S2SException(String msg, int messageType)
  • Method Details

    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable
    • getMessageWithParams

      public String[] getMessageWithParams()
      This method returns the message as the first element followed by all params.
      Returns:
      message and parameters in an array.
    • getErrorMessage

      public String getErrorMessage()
    • setErrorMessage

      public void setErrorMessage(String errorMessage)
    • getErrorKey

      public String getErrorKey()
    • setErrorKey

      public void setErrorKey(String errorKey)
    • getMessageType

      public int getMessageType()
    • setMessageType

      public void setMessageType(int messageType)
    • getParams

      public String[] getParams()
    • setParams

      public void setParams(String[] params)
    • getTabErrorKey

      public String getTabErrorKey()
    • setTabErrorKey

      public void setTabErrorKey(String tabErrorKey)