Package vn.payos.exception
Class UnauthorizedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
vn.payos.exception.PayOSException
vn.payos.exception.APIException
vn.payos.exception.UnauthorizedException
- All Implemented Interfaces:
Serializable
UnauthorizedException
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnauthorizedException(String message) UnauthorizedExceptionUnauthorizedException(String message, Integer statusCode, String errorCode, String errorDesc) UnauthorizedExceptionUnauthorizedException(String message, Throwable cause, Integer statusCode, String errorCode, String errorDesc) UnauthorizedException -
Method Summary
Methods inherited from class vn.payos.exception.APIException
fromResponse, getErrorCode, getErrorDesc, getStatusCodeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnauthorizedException
UnauthorizedException- Parameters:
message- message
-
UnauthorizedException
public UnauthorizedException(String message, Integer statusCode, String errorCode, String errorDesc) UnauthorizedException- Parameters:
message- messagestatusCode- status codeerrorCode- codeerrorDesc- desc
-
UnauthorizedException
public UnauthorizedException(String message, Throwable cause, Integer statusCode, String errorCode, String errorDesc) UnauthorizedException- Parameters:
message- messagecause- causestatusCode- status codeerrorCode- codeerrorDesc- desc
-