Package 

Class HttpException

  • All Implemented Interfaces:
    java.io.Serializable

    
    public final class HttpException
    extends RuntimeException
                        

    Exception for an unexpected, non-2xx HTTP response.

    • Constructor Summary

      Constructors 
      Constructor Description
      HttpException(Response response)
    • Method Summary

      Modifier and Type Method Description
      final Response getResponse()
      Throwable getCause()
      String getMessage()
      • Methods inherited from class java.lang.Exception

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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait