Package com.easypost.exception.API
Class UnauthorizedError
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.easypost.exception.EasyPostException
com.easypost.exception.APIException
com.easypost.exception.API.UnauthorizedError
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnauthorizedError
(String message, String code, List<Object> errors, int statusCode) UnauthorizedError constructor. -
Method Summary
Methods inherited from class com.easypost.exception.APIException
getCode, getErrors, getMessage, getStatusCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnauthorizedError
UnauthorizedError constructor.- Parameters:
message
- the exception messagecode
- the exception codeerrors
- the errors arraystatusCode
- the exception status code
-