Class RestErrorException

All Implemented Interfaces:
Serializable

public final class RestErrorException extends HttpResponseException
Exception thrown for an invalid response with RestError information.
See Also:
  • Constructor Details

    • RestErrorException

      public RestErrorException(String message, HttpResponse response)
      Initializes a new instance of the RestErrorException class.
      Parameters:
      message - the exception message or the response content if a message is not available.
      response - the HTTP response.
    • RestErrorException

      public RestErrorException(String message, HttpResponse response, RestError value)
      Initializes a new instance of the RestErrorException class.
      Parameters:
      message - the exception message or the response content if a message is not available.
      response - the HTTP response.
      value - the deserialized response value.
  • Method Details