Class HttpRequestException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    RetryExceededException

    public class HttpRequestException
    extends java.io.IOException
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      HttpResponse getResponse()  
      • 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

      • HttpRequestException

        public HttpRequestException​(HttpResponse response)
      • HttpRequestException

        public HttpRequestException​(HttpResponse response,
                                    java.lang.String message)
    • Method Detail

      • getResponse

        public HttpResponse getResponse()
        Returns:
        The response of the request