com.iplanet.am.sdk
Class AMPostCallBackException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.iplanet.am.sdk.AMException
                    |
                    +--com.iplanet.am.sdk.AMPostCallBackException
All Implemented Interfaces:
java.io.Serializable

public class AMPostCallBackException
extends AMException

AMPostCallBackException is a subclass of AMException which is used by all implementations of AMCallback. This exception should be thrown by the callback plugins in the post callback methods called by SDK. This helps distinguish a post-callback exception from normal SDK exceptions and can be handled differently by any applications using the SDK, if they wish to.

See Also:
Serialized Form

Constructor Summary
AMPostCallBackException(SSOToken token, java.lang.String errorCode)
          Constructs a new AMPostCallBackException with detailed message.
AMPostCallBackException(SSOToken token, java.lang.String errorCode, com.iplanet.ums.UMSException ue)
          Constructs a new AMPostCallBackException with detailed message.
AMPostCallBackException(java.lang.String msg, java.lang.String errorCode)
          Constructs a new AMPostCallBackException with detailed message.
AMPostCallBackException(java.lang.String msg, java.lang.String errorCode, java.lang.Object[] args)
          Constructs a new AMPostCallBackException with detailed message.
AMPostCallBackException(java.lang.String msg, java.lang.String errorCode, java.lang.Object[] args, com.iplanet.ums.UMSException ue)
          Constructs a new AMPostCallBackException with detailed message.
AMPostCallBackException(java.lang.String msg, java.lang.String errorCode, com.iplanet.ums.UMSException ue)
          Constructs a new AMPostCallBackException with detailed message.
 
Methods inherited from class com.iplanet.am.sdk.AMException
getErrorCode, getLDAPErrorCode, getLDAPException, getMessage, getMessageArgs
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AMPostCallBackException

public AMPostCallBackException(java.lang.String msg,
                               java.lang.String errorCode)
Constructs a new AMPostCallBackException with detailed message.
Parameters:
msg - The detailed message.
errorCode - Matches the appropriate entry in amProfile.properties.

AMPostCallBackException

public AMPostCallBackException(SSOToken token,
                               java.lang.String errorCode)
Constructs a new AMPostCallBackException with detailed message.
Parameters:
token - A valid single sign on token of the user performing the operation.
errorCode - error code.

AMPostCallBackException

public AMPostCallBackException(java.lang.String msg,
                               java.lang.String errorCode,
                               com.iplanet.ums.UMSException ue)
Constructs a new AMPostCallBackException with detailed message.
Parameters:
msg - The detailed message.
errorCode - Matches the appropriate entry in amProfile.properties.
ue - if the root case is a UMSException

AMPostCallBackException

public AMPostCallBackException(SSOToken token,
                               java.lang.String errorCode,
                               com.iplanet.ums.UMSException ue)
Constructs a new AMPostCallBackException 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 case is a UMSException

AMPostCallBackException

public AMPostCallBackException(java.lang.String msg,
                               java.lang.String errorCode,
                               java.lang.Object[] args)
Constructs a new AMPostCallBackException 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

AMPostCallBackException

public AMPostCallBackException(java.lang.String msg,
                               java.lang.String errorCode,
                               java.lang.Object[] args,
                               com.iplanet.ums.UMSException ue)
Constructs a new AMPostCallBackException 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 case is a UMSException