Class GXResponseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.gcube.common.gxhttp.reference.GXResponseException
-
- All Implemented Interfaces:
Serializable
public class GXResponseException extends IOException
Thrown when a request was handed to the server but no response status was received (e.g. the read timeout expired, or the connection was closed while waiting for the response): the server may have processed the request, so resending it may repeat its effect.A failure before the request reaches the server (refused connection, unknown host, connect timeout) is thrown as it is, and means the server did not process the request. Any other failure while sending the request or waiting for the response, a failure while writing the body included, is reported with this exception.
- Author:
- Luca Frosini (ISTI-CNR)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GXResponseException(String message, Throwable cause)Creates the exception.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-