com.iplanet.am.sdk
Class AMEntryExistsException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.iplanet.am.sdk.AMException
                    |
                    +--com.iplanet.am.sdk.AMEntryExistsException
All Implemented Interfaces:
com.sun.identity.common.L10NMessage, java.io.Serializable

public class AMEntryExistsException
extends AMException

This AMEntryExistsException is a specific typed exception used to indicate an error encountered because the entry already existing in the Directory. This class is a subclass of the AMException class.

See Also:
Exception, Throwable, AMException, Serialized Form

Constructor Summary
AMEntryExistsException(SSOToken token, java.lang.String errorCode)
          Protected constructor for convenience.
AMEntryExistsException(SSOToken token, java.lang.String errorCode, com.iplanet.ums.UMSException ue)
          Protected constructor for convenience.
AMEntryExistsException(java.lang.String msg, java.lang.String errorCode)
          Constructs a new AMEntryExistsException with detailed message.
AMEntryExistsException(java.lang.String msg, java.lang.String errorCode, java.lang.Object[] args)
          Constructs a new AMException with detailed message.
AMEntryExistsException(java.lang.String msg, java.lang.String errorCode, java.lang.Object[] args, com.iplanet.ums.UMSException ue)
          Constructs a new AMException with detailed message.
AMEntryExistsException(java.lang.String msg, java.lang.String errorCode, com.iplanet.ums.UMSException ue)
          Protected constructor for convenience.
 
Methods inherited from class com.iplanet.am.sdk.AMException
getErrorCode, getL10NMessage, getLDAPErrorCode, getLDAPException, getMessage, getMessageArgs, getResourceBundleName
 
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

AMEntryExistsException

public AMEntryExistsException(java.lang.String msg,
                              java.lang.String errorCode)
Constructs a new AMEntryExistsException with detailed message.
Parameters:
msg - The detailed message
errorCode - Error code that matches the appropriate entry in amProfile.properties.

AMEntryExistsException

public AMEntryExistsException(SSOToken token,
                              java.lang.String errorCode)
Protected constructor for convenience.
Parameters:
token - Single Sign On Token.
errorCode - Error code that matches the appropriate entry in amProfile.properties.

AMEntryExistsException

public AMEntryExistsException(java.lang.String msg,
                              java.lang.String errorCode,
                              com.iplanet.ums.UMSException ue)
Protected constructor for convenience.
Parameters:
msg - The detailed message.
errorCode - Error code that matches the appropriate entry in amProfile.properties.
ue - UMSException root cause exception.

AMEntryExistsException

public AMEntryExistsException(SSOToken token,
                              java.lang.String errorCode,
                              com.iplanet.ums.UMSException ue)
Protected constructor for convenience.
Parameters:
token - Single Sign On Token.
errorCode - Error code that matches the appropriate entry in amProfile.properties.
ue - UMSException root cause exception.

AMEntryExistsException

public AMEntryExistsException(java.lang.String msg,
                              java.lang.String errorCode,
                              java.lang.Object[] args)
Constructs a new AMException with detailed message.
Parameters:
msg - The detailed message.
errorCode - Error code that matches the appropriate entry in amProfile.properties.
args - Array of arguments to be applied in the message.

AMEntryExistsException

public AMEntryExistsException(java.lang.String msg,
                              java.lang.String errorCode,
                              java.lang.Object[] args,
                              com.iplanet.ums.UMSException ue)
Constructs a new AMException with detailed message.
Parameters:
msg - The detailed message.
errorCode - Error code that matches the appropriate entry in amProfile.properties.
args - Array of arguments to be applied in the message.
ue - UMSException root cause exception.


Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.