All Implemented Interfaces:
Serializable

public class RESTConfigurationException extends RESTClientCheckedExceptionBase
The RESTConfigurationException is thrown by the connector when it is not able to configure a client to call a REST API.
See Also:
  • Constructor Details

    • RESTConfigurationException

      public RESTConfigurationException(int httpCode, String className, String actionDescription, String errorMessage, String systemAction, String userAction)
      This is the typical constructor used for creating an exception.
      Parameters:
      httpCode - http response code to use if this exception flows over a rest call
      className - name of class reporting error
      actionDescription - description of function it was performing when error detected
      errorMessage - description of error
      systemAction - actions of the system as a result of the error
      userAction - instructions for correcting the error
    • RESTConfigurationException

      public RESTConfigurationException(int httpCode, String className, String actionDescription, String errorMessage, String systemAction, String userAction, Exception caughtError)
      This is the constructor used for creating an exception that resulted from a previous error.
      Parameters:
      httpCode - http response code to use if this exception flows over a rest call
      className - name of class reporting error
      actionDescription - description of function it was performing when error detected
      errorMessage - description of error
      systemAction - actions of the system as a result of the error
      userAction - instructions for correcting the error
      caughtError - the error that resulted in this exception.
  • Method Details

    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class Throwable
      Returns:
      string of property names and values for this enum