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:
- com.sun.identity.common.L10NMessage, java.io.Serializable
- 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,
java.lang.String errorCode)
Constructs a new AMPreCallBackException with detailed
message. |
AMPreCallBackException(SSOToken token,
java.lang.String errorCode,
com.iplanet.ums.UMSException ue)
Constructs a new AMPreCallBackException with detailed
message. |
AMPreCallBackException(java.lang.String msg,
java.lang.String errorCode)
Constructs a new AMPreCallBackException with detailed
message. |
AMPreCallBackException(java.lang.String msg,
java.lang.String errorCode,
java.lang.Object[] args)
Constructs a new AMPreCallBackException with detailed
message. |
AMPreCallBackException(java.lang.String msg,
java.lang.String errorCode,
java.lang.Object[] args,
com.iplanet.ums.UMSException ue)
Constructs a new AMPreCallBackException with detailed
message. |
AMPreCallBackException(java.lang.String msg,
java.lang.String errorCode,
com.iplanet.ums.UMSException ue)
Constructs a new AMPreCallBackException with detailed
message. |
| 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 |
AMPreCallBackException
public AMPreCallBackException(java.lang.String msg,
java.lang.String errorCode)
- Constructs a new
AMPreCallBackException with detailed
message.
- Parameters:
msg - The detailed messageerrorCode - Matches the appropriate entry in
amProfile.properties.
AMPreCallBackException
public AMPreCallBackException(SSOToken token,
java.lang.String errorCode)
- Constructs a new
AMPreCallBackException with detailed
message.
- Parameters:
token - A valid SSO token of the user performing the operationerrorCode - Matches the appropriate entry in
amProfile.properties.
AMPreCallBackException
public AMPreCallBackException(java.lang.String msg,
java.lang.String errorCode,
com.iplanet.ums.UMSException ue)
- Constructs a new
AMPreCallBackException with detailed
message.
- Parameters:
msg - The detailed messageerrorCode - Matches the appropriate entry in
amProfile.properties.ue - if the root cause is a UMSException.
AMPreCallBackException
public AMPreCallBackException(SSOToken token,
java.lang.String errorCode,
com.iplanet.ums.UMSException ue)
- 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(java.lang.String msg,
java.lang.String errorCode,
java.lang.Object[] args)
- 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(java.lang.String msg,
java.lang.String errorCode,
java.lang.Object[] args,
com.iplanet.ums.UMSException ue)
- Constructs a new
AMPreCallBackException with detailed
message.
- Parameters:
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 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.