Class HttpResponseException

  • All Implemented Interfaces:
    java.io.Serializable

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getResponseCode()  
      java.lang.String getResponseMessage()  
      • 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​(java.net.HttpURLConnection con)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • HttpResponseException

        public HttpResponseException​(int responseCode,
                                     java.lang.String responseMessage)
    • Method Detail

      • getResponseCode

        public int getResponseCode()
      • getResponseMessage

        public java.lang.String getResponseMessage()