Package com.basistech.rosette.api
Class HttpRosetteAPIException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.basistech.rosette.RosetteRuntimeException
com.basistech.rosette.apimodel.CommonRosetteAPIException
com.basistech.rosette.api.HttpRosetteAPIException
- All Implemented Interfaces:
Serializable
public class HttpRosetteAPIException
extends com.basistech.rosette.apimodel.CommonRosetteAPIException
Exception from
HttpRosetteAPI
- See Also:
-
Constructor Summary
ConstructorDescriptionHttpRosetteAPIException
(com.basistech.rosette.apimodel.ErrorResponse errorResponse, Integer httpStatusCode) HttpRosetteAPIException
(String message, com.basistech.rosette.apimodel.ErrorResponse errorResponse, Integer httpStatusCode) HttpRosetteAPIException
(String message, Throwable cause, com.basistech.rosette.apimodel.ErrorResponse errorResponse, Integer httpStatusCode) HttpRosetteAPIException
(Throwable cause, com.basistech.rosette.apimodel.ErrorResponse errorResponse, Integer httpStatusCode) -
Method Summary
Methods inherited from class com.basistech.rosette.apimodel.CommonRosetteAPIException
getErrorResponse
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
HttpRosetteAPIException
public HttpRosetteAPIException(com.basistech.rosette.apimodel.ErrorResponse errorResponse, Integer httpStatusCode) -
HttpRosetteAPIException
-
HttpRosetteAPIException
-
HttpRosetteAPIException
-
-
Method Details
-
getHttpStatusCode
- Returns:
- the HTTP status code associated with this error, or
null
if there was no HTTP error involved.
-