Class RequestTimeoutException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- io.github.brenoepics.at4j.core.exceptions.AzureException
-
- io.github.brenoepics.at4j.core.exceptions.RequestTimeoutException
-
- All Implemented Interfaces:
Serializable
public class RequestTimeoutException extends AzureException
This exception is thrown when the Azure API returns a 408 Request Timeout response.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RequestTimeoutException(Exception origin, String message, RestRequestInfo request, RestRequestResponseInfo response)
Creates a new instance of this class.
-
Method Summary
-
Methods inherited from class io.github.brenoepics.at4j.core.exceptions.AzureException
getRequest, getResponse
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
RequestTimeoutException
public RequestTimeoutException(Exception origin, String message, RestRequestInfo request, RestRequestResponseInfo response)
Creates a new instance of this class.- Parameters:
origin
- The origin of the exception.message
- The message of the exception.request
- The information about the request.response
- The information about the response.
-
-