public class AuthErrorCodeException extends MessageLoginException
LoginException
with an error code from AMAuthErrorCode
,
which can later be used by AMLoginContext
to handle the exception.Constructor and Description |
---|
AuthErrorCodeException(String authErrorCode,
String rbName,
String messageCode)
Constructs a new
AuthErrorCodeException . |
AuthErrorCodeException(String authErrorCode,
String rbName,
String messageCode,
Object[] args)
Constructs a new
AuthErrorCodeException . |
Modifier and Type | Method and Description |
---|---|
String |
getAuthErrorCode()
Get the error code which should be one of the codes in
AMAuthErrorCode . |
getErrorCode, getL10NMessage, getMessage, getMessageArgs, getResourceBundleName
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AuthErrorCodeException(String authErrorCode, String rbName, String messageCode)
AuthErrorCodeException
.authErrorCode
- The error code which should be one of the codes in AMAuthErrorCode
.rbName
- Resource Bundle Name where the localized error message is located.messageCode
- Key in resource bundle for the message.public AuthErrorCodeException(String authErrorCode, String rbName, String messageCode, Object[] args)
AuthErrorCodeException
.authErrorCode
- The error code which should be one of the codes in AMAuthErrorCode
.rbName
- Resource Bundle Name where the localized error message is located.messageCode
- Key in resource bundle for the message.args
- Arguments to the error message.public String getAuthErrorCode()
AMAuthErrorCode
.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.