Class HttpResponseException

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      HttpResponse getResponse()  
      java.lang.Object getValue()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • HttpResponseException

        public HttpResponseException​(HttpResponse response)
        Initializes a new instance of the HttpResponseException class.
        Parameters:
        response - The HttpResponse received that is associated to the exception.
      • HttpResponseException

        public HttpResponseException​(java.lang.String message,
                                     HttpResponse response)
        Initializes a new instance of the HttpResponseException class.
        Parameters:
        message - The exception message.
        response - The HttpResponse received that is associated to the exception.
      • HttpResponseException

        public HttpResponseException​(HttpResponse response,
                                     java.lang.Throwable cause)
        Initializes a new instance of the HttpResponseException class.
        Parameters:
        response - The HttpResponse received that is associated to the exception.
        cause - The Throwable which caused the creation of this exception.
      • HttpResponseException

        public HttpResponseException​(java.lang.String message,
                                     HttpResponse response,
                                     java.lang.Object value)
        Initializes a new instance of the HttpResponseException class.
        Parameters:
        message - The exception message.
        response - The HttpResponse received that is associated to the exception.
        value - The deserialized response value.
      • HttpResponseException

        public HttpResponseException​(java.lang.String message,
                                     HttpResponse response,
                                     java.lang.Throwable cause)
        Initializes a new instance of the HttpResponseException class.
        Parameters:
        message - The exception message.
        response - The HttpResponse received that is associated to the exception.
        cause - The Throwable which caused the creation of this exception.
    • Method Detail

      • getResponse

        public HttpResponse getResponse()
        Returns:
        The HttpResponse received that is associated to the exception.
      • getValue

        public java.lang.Object getValue()
        Returns:
        The deserialized HTTP response value.