public static class ErrorCodeValidator.Error extends Object
| Constructor and Description |
|---|
ErrorCodeValidator.Error(int errorCode,
String errorMessage)
Creates a new JWT validation error with the given code and message.
|
public ErrorCodeValidator.Error(int errorCode,
String errorMessage)
ErrorCodes has the codes defined in
this library. User defined error codes should use negative values
so as to avoid potential collisions with error code values
used by this library.errorCode - the error codeerrorMessage - the error messagepublic int getErrorCode()
ErrorCodes has the codes defined in
this library.public String getErrorMessage()
Copyright © 2021. All rights reserved.