java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.inverno.mod.http.client.HttpClientException
io.inverno.mod.http.client.RequestTimeoutException
- All Implemented Interfaces:
Serializable
Thrown when a request has timed out.
A request times out when no response data has been received for the timeout limit (HttpClientConfiguration.request_timeout()
).
- Since:
- 1.6
- Author:
- Jeremy Kuhn
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates a Request timeout exception.RequestTimeoutException
(String message) Creates a Request timeout exception.RequestTimeoutException
(String message, Throwable cause) Creates a Request timeout exception.RequestTimeoutException
(Throwable cause) Creates a Request timeout exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RequestTimeoutException
public RequestTimeoutException()Creates a Request timeout exception.
-
RequestTimeoutException
Creates a Request timeout exception.
- Parameters:
message
- the message
-
RequestTimeoutException
Creates a Request timeout exception.
- Parameters:
message
- the messagecause
- the cause
-
RequestTimeoutException
Creates a Request timeout exception.
- Parameters:
cause
- the cause
-