com.iplanet.am.sdk
Class AMPreCallBackException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.iplanet.am.sdk.AMException
              extended by com.iplanet.am.sdk.AMPreCallBackException

Deprecated. As of Sun Java System Access Manager 7.1.

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.

See Also:
Serialized Form

Constructor Summary
AMPreCallBackException(SSOToken token, String errorCode)
          Deprecated. Constructs a new AMPreCallBackException with detailed message.
AMPreCallBackException(SSOToken token, String errorCode, com.iplanet.ums.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, com.iplanet.ums.UMSException ue)
          Deprecated. Constructs a new AMPreCallBackException with detailed message.
AMPreCallBackException(String msg, String errorCode, com.iplanet.ums.UMSException ue)
          Deprecated. Constructs a new AMPreCallBackException with detailed message.
 
Method Summary
 
Methods inherited from class com.iplanet.am.sdk.AMException
getErrorCode, getL10NMessage, getLDAPErrorCode, getLDAPException, getMessage, getMessageArgs, getResourceBundleName
 

Constructor Detail

AMPreCallBackException

public AMPreCallBackException(String msg,
                              String errorCode)
Deprecated. 
Constructs a new AMPreCallBackException with detailed message.

Parameters:
msg - The detailed message
errorCode - Matches the appropriate entry in amProfile.properties.

AMPreCallBackException

public AMPreCallBackException(SSOToken token,
                              String errorCode)
Deprecated. 
Constructs a new AMPreCallBackException with detailed message.

Parameters:
token - A valid SSO token of the user performing the operation
errorCode - Matches the appropriate entry in amProfile.properties.

AMPreCallBackException

public AMPreCallBackException(String msg,
                              String errorCode,
                              com.iplanet.ums.UMSException ue)
Deprecated. 
Constructs a new AMPreCallBackException with detailed message.

Parameters:
msg - The detailed message
errorCode - Matches the appropriate entry in amProfile.properties.
ue - if the root cause is a UMSException.

AMPreCallBackException

public AMPreCallBackException(SSOToken token,
                              String errorCode,
                              com.iplanet.ums.UMSException ue)
Deprecated. 
Constructs a new AMPreCallBackException with detailed message.

Parameters:
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.

AMPreCallBackException

public AMPreCallBackException(String msg,
                              String errorCode,
                              Object[] args)
Deprecated. 
Constructs a new AMPreCallBackException with detailed message.

Parameters:
msg - The detailed message.
errorCode - Matches the appropriate entry in amProfile.properties.
args - if the error message needs specific values to be set.

AMPreCallBackException

public AMPreCallBackException(String msg,
                              String errorCode,
                              Object[] args,
                              com.iplanet.ums.UMSException ue)
Deprecated. 
Constructs a new AMPreCallBackException with detailed message.

Parameters:
msg - The detailed message
errorCode - 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.