Package com.iplanet.am.sdk
Class AMPreCallBackException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.iplanet.am.sdk.AMException
-
- com.iplanet.am.sdk.AMPreCallBackException
-
- All Implemented Interfaces:
L10NMessage,Serializable
public class AMPreCallBackException extends AMException
Deprecated.As of Sun Java System Access Manager 7.1.AMPreCallBackExceptionis a subclass ofAMExceptionwhich is used by all implementations ofAMCallback. This exception should be thrown by thecallbackplugins in case they want to abort the operation being performed by SDK. This helps distinguish apre-callbackexception from normal SDK exceptions and can be handled differently by any applications, if they wish to.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AMPreCallBackException(SSOToken token, String errorCode)Deprecated.Constructs a newAMPreCallBackExceptionwith detailed message.AMPreCallBackException(SSOToken token, String errorCode, UMSException ue)Deprecated.Constructs a newAMPreCallBackExceptionwith detailed message.AMPreCallBackException(String msg, String errorCode)Deprecated.Constructs a newAMPreCallBackExceptionwith detailed message.AMPreCallBackException(String msg, String errorCode, UMSException ue)Deprecated.Constructs a newAMPreCallBackExceptionwith detailed message.AMPreCallBackException(String msg, String errorCode, Object[] args)Deprecated.Constructs a newAMPreCallBackExceptionwith detailed message.AMPreCallBackException(String msg, String errorCode, Object[] args, UMSException ue)Deprecated.Constructs a newAMPreCallBackExceptionwith detailed message.
-
Method Summary
-
Methods inherited from class com.iplanet.am.sdk.AMException
getErrorCode, getL10NMessage, getLDAPErrorCode, getLDAPException, getMessage, getMessageArgs, getResourceBundleName
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AMPreCallBackException
public AMPreCallBackException(String msg, String errorCode)
Deprecated.Constructs a newAMPreCallBackExceptionwith detailed message.- Parameters:
msg- The detailed messageerrorCode- Matches the appropriate entry inamProfile.properties.
-
AMPreCallBackException
public AMPreCallBackException(SSOToken token, String errorCode)
Deprecated.Constructs a newAMPreCallBackExceptionwith detailed message.- Parameters:
token- A valid SSO token of the user performing the operationerrorCode- Matches the appropriate entry inamProfile.properties.
-
AMPreCallBackException
public AMPreCallBackException(String msg, String errorCode, UMSException ue)
Deprecated.Constructs a newAMPreCallBackExceptionwith detailed message.- Parameters:
msg- The detailed messageerrorCode- Matches the appropriate entry inamProfile.properties.ue- if the root cause is aUMSException.
-
AMPreCallBackException
public AMPreCallBackException(SSOToken token, String errorCode, UMSException ue)
Deprecated.Constructs a newAMPreCallBackExceptionwith detailed message.- Parameters:
token- a valid single sign on token of the user performing the operation.errorCode- Matches the appropriate entry inamProfile.properties.ue- if the root cause is aUMSException.
-
AMPreCallBackException
public AMPreCallBackException(String msg, String errorCode, Object[] args)
Deprecated.Constructs a newAMPreCallBackExceptionwith detailed message.- Parameters:
msg- The detailed message.errorCode- Matches the appropriate entry inamProfile.properties.args- if the error message needs specific values to be set.
-
AMPreCallBackException
public AMPreCallBackException(String msg, String errorCode, Object[] args, UMSException ue)
Deprecated.Constructs a newAMPreCallBackExceptionwith detailed message.- Parameters:
msg- The detailed messageerrorCode- Matches the appropriate entry inamProfile.properties.args- if the error message needs specific values to be set.ue- if the root cause is aUMSException.
-
-