public class AMPreCallBackException extends AMException
AMPreCallBackException
is a subclass of
AMException
which is used by all implementations of
AMCallback
. This exception should be thrown by the
callback
plugins in case they want to abort the operation
being performed by SDK. This helps distinguish a pre-callback
exception from normal SDK exceptions and can be handled differently by any
applications, if they wish to.Constructor and Description |
---|
AMPreCallBackException(SSOToken token,
String errorCode)
Deprecated.
Constructs a new
AMPreCallBackException with detailed
message. |
AMPreCallBackException(SSOToken token,
String errorCode,
UMSException ue)
Deprecated.
Constructs a new
AMPreCallBackException with detailed
message. |
AMPreCallBackException(String msg,
String errorCode)
Deprecated.
Constructs a new
AMPreCallBackException with detailed
message. |
AMPreCallBackException(String msg,
String errorCode,
Object[] args)
Deprecated.
Constructs a new
AMPreCallBackException with detailed
message. |
AMPreCallBackException(String msg,
String errorCode,
Object[] args,
UMSException ue)
Deprecated.
Constructs a new
AMPreCallBackException with detailed
message. |
AMPreCallBackException(String msg,
String errorCode,
UMSException ue)
Deprecated.
Constructs a new
AMPreCallBackException with detailed
message. |
getErrorCode, getL10NMessage, getLDAPErrorCode, getLDAPException, getMessage, getMessageArgs, getResourceBundleName
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AMPreCallBackException(String msg, String errorCode)
AMPreCallBackException
with detailed
message.msg
- The detailed messageerrorCode
- Matches the appropriate entry in
amProfile.properties
.public AMPreCallBackException(SSOToken token, String errorCode)
AMPreCallBackException
with detailed
message.token
- A valid SSO token of the user performing the operationerrorCode
- Matches the appropriate entry in
amProfile.properties
.public AMPreCallBackException(String msg, String errorCode, UMSException ue)
AMPreCallBackException
with detailed
message.msg
- The detailed messageerrorCode
- Matches the appropriate entry in
amProfile.properties
.ue
- if the root cause is a UMSException
.public AMPreCallBackException(SSOToken token, String errorCode, UMSException ue)
AMPreCallBackException
with detailed
message.token
- a valid single sign on token of the user performing the
operation.errorCode
- Matches the appropriate entry in
amProfile.properties
.ue
- if the root cause is a UMSException
.public AMPreCallBackException(String msg, String errorCode, Object[] args)
AMPreCallBackException
with detailed
message.msg
- The detailed message.errorCode
- Matches the appropriate entry in
amProfile.properties
.args
- if the error message needs specific values to be set.public AMPreCallBackException(String msg, String errorCode, Object[] args, UMSException ue)
AMPreCallBackException
with detailed
message.msg
- The detailed messageerrorCode
- Matches the appropriate entry in
amProfile.properties
.args
- if the error message needs specific values to be set.ue
- if the root cause is a UMSException
.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.