Package org.apache.hc.core5.http
Class RequestNotExecutedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.hc.core5.http.ConnectionClosedException
org.apache.hc.core5.http.RequestNotExecutedException
- All Implemented Interfaces:
Serializable
ConnectionClosedException
subclass that signals requests cannot not be executed
due to the connection being closed. Generally requests failed with this exception
are safe to be re-executed.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new RequestNotExecutedException with a default message.RequestNotExecutedException
(String message) Constructs a new RequestNotExecutedException with the specified detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RequestNotExecutedException
public RequestNotExecutedException()Constructs a new RequestNotExecutedException with a default message. -
RequestNotExecutedException
Constructs a new RequestNotExecutedException with the specified detail message.- Parameters:
message
- The exception detail message
-