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:
Serializable
Enclosing class:
HttpRequest

public static class HttpRequest.HttpRequestException
extends RuntimeException

HTTP request exception whose cause is always an IOException

See Also:
Serialized Form

Constructor Summary
protected HttpRequest.HttpRequestException(IOException cause)
           
 
Method Summary
 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HttpRequest.HttpRequestException

protected HttpRequest.HttpRequestException(IOException cause)
Parameters:
cause -
Method Detail

getCause

public IOException getCause()
Get IOException that triggered this request exception

Overrides:
getCause in class Throwable
Returns:
IOException cause


Copyright © 2011-2013. All Rights Reserved.