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