Package ai.rev.exceptions
Class RevAiApiException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- ai.rev.exceptions.RevAiApiException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AuthorizationException,ForbiddenRequestException,ForbiddenStateException,InvalidHeaderException,InvalidParameterException,ResourceNotFoundException,ThrottlingLimitException
public class RevAiApiException extends IOException
The RevAiApiException wraps standard Java IOException and enriches them with custom information. You can use this code to retrieve details of exceptions when calling the Rev AI API.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RevAiApiException(String message, org.json.JSONObject errorResponse, int responseCode)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
RevAiApiException
public RevAiApiException(String message, org.json.JSONObject errorResponse, int responseCode)
-
-