public final class MsalUiRequiredException extends MsalException
Error codes that can be returned from this exception:
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
INVALID_GRANT
The refresh token used to redeem access token is invalid, expired, revoked.
|
static java.lang.String |
NO_ACCOUNT_FOUND
The supplied Account cannot be found in the cache.
|
static java.lang.String |
NO_TOKENS_FOUND
Access token doesn't exist and there is no refresh token can be found to redeem access token.
|
Constructor and Description |
---|
MsalUiRequiredException(java.lang.String errorCode) |
MsalUiRequiredException(java.lang.String errorCode,
java.lang.String errorMessage) |
MsalUiRequiredException(java.lang.String errorCode,
java.lang.String errorMessage,
java.lang.Throwable throwable) |
getErrorCode, getMessage
public static final java.lang.String INVALID_GRANT
public static final java.lang.String NO_TOKENS_FOUND
public static final java.lang.String NO_ACCOUNT_FOUND
public MsalUiRequiredException(java.lang.String errorCode)
public MsalUiRequiredException(java.lang.String errorCode, java.lang.String errorMessage)
public MsalUiRequiredException(java.lang.String errorCode, java.lang.String errorMessage, java.lang.Throwable throwable)