com.github.kevinsawicki.http
Class HttpRequest.HttpRequestException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.github.kevinsawicki.http.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

Method Summary
 java.io.IOException getCause()
          Get IOException that triggered this request exception
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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