Class HttpDownloader.HttpException

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    HttpDownloader

    public static class HttpDownloader.HttpException
    extends java.lang.RuntimeException
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      HttpException​(java.net.URI uri, int responseContent)  
      HttpException​(java.net.URI uri, int responseCode, java.lang.String responseContent)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getResponseCode()  
      java.lang.String getResponseContent()  
      java.net.URI getUri()  
      • 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

      • HttpException

        public HttpException​(java.net.URI uri,
                             int responseContent)
      • HttpException

        public HttpException​(java.net.URI uri,
                             int responseCode,
                             java.lang.String responseContent)
    • Method Detail

      • getResponseCode

        public int getResponseCode()
      • getUri

        public java.net.URI getUri()
      • getResponseContent

        public java.lang.String getResponseContent()