Class HttpRequest.HttpRequestException

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

    public static class HttpRequest.HttpRequestException
    extends java.lang.RuntimeException
    HTTP request exception whose cause is always an IOException
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Constructor Description
      HttpRequestException​(java.io.IOException cause)
      Create a new HttpRequestException with the given cause
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.IOException getCause()
      Get IOException that triggered this request exception
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, 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​(java.io.IOException cause)
        Create a new HttpRequestException with the given cause
        Parameters:
        cause -
    • Method Detail

      • getCause

        public java.io.IOException getCause()
        Get IOException that triggered this request exception
        Overrides:
        getCause in class java.lang.Throwable
        Returns:
        IOException cause