Package com.nettoolkit.exception
Class ApiConnectionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.nettoolkit.exception.NetToolKitException
com.nettoolkit.exception.ApiConnectionException
- All Implemented Interfaces:
Serializable
ApiConnectionException is thrown when the client cannot connect to the web API.
There should always be an underlying cause for this exceptions; for example a java.net.ConnectException or java.io.IOException.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionApiConnectionException(Throwable cause) ApiConnectionException(HttpTimeoutException cause, OffsetDateTime requestStartTime, BaseApiRequest request) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ApiConnectionException
-
ApiConnectionException
public ApiConnectionException(HttpTimeoutException cause, OffsetDateTime requestStartTime, BaseApiRequest request)
-