Package com.github.kevinsawicki.http
Class HttpRequest.HttpRequestException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.github.kevinsawicki.http.HttpRequest.HttpRequestException
- All Implemented Interfaces:
Serializable
- Enclosing class:
HttpRequest
HTTP request exception whose cause is always an
IOException
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionHttpRequestException
(IOException cause) Create a new HttpRequestException with the given cause -
Method Summary
Modifier and TypeMethodDescriptiongetCause()
GetIOException
that triggered this request exceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
HttpRequestException
Create a new HttpRequestException with the given cause- Parameters:
cause
-
-
-
Method Details
-
getCause
GetIOException
that triggered this request exception- Overrides:
getCause
in classThrowable
- Returns:
IOException
cause
-