com.ibm.itim.dataservices.model
Class DuplicateEntryException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.ibm.itim.exception.ITIMException
                    |
                    +--com.ibm.itim.dataservices.model.ModelException
                          |
                          +--com.ibm.itim.dataservices.model.ModelCreationException
                                |
                                +--com.ibm.itim.dataservices.model.DuplicateEntryException
All Implemented Interfaces:
java.io.Serializable

public class DuplicateEntryException
extends ModelCreationException

DuplicateEntryException is a subclass of ModelCreationException used for errors that arise when attempting to create an entry in the data store and in case the entry already exists.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.itim.dataservices.model.ModelException
ATTR_IN_USE, ATTRIBUTE_IN_USE, CREATE_ERROR, DUPLICATE_ENTRY, ENTRY_ALREADY_EXIST, INVALID_ARG, INVALID_ATTRIBUTES, INVALID_CATEGORY, INVALID_DN, JNDI_OPERATION_ERROR, META_DATA_CORRUPT, META_DATA_INSTANTIATION_ERROR, META_DATA_NOT_FOUND, NULL_USER_ID, OBJECT_NOT_FOUND, PROFILE_NOT_FOUND, RELATIONSHIP_NOT_FOUND, REMOVE_ERROR, SERVER_NOT_AVAILABLE
 
Constructor Summary
DuplicateEntryException(java.lang.String message)
          Constructs an DuplicateEntryException with a message.
DuplicateEntryException(java.lang.String msg, java.lang.Object[] tokenValues, java.lang.Throwable cause, DirectoryObjectEntity entity)
          Constructs an DuplicateEntryException with a message and original exception.
DuplicateEntryException(java.lang.String msg, java.lang.Throwable cause)
          Constructs an DuplicateEntryException with a message and original exception.
DuplicateEntryException(java.lang.String message, java.lang.Throwable cause, DirectoryObjectEntity entity)
          Constructs an DuplicateEntryException with a message and original exception.
 
Method Summary
 DirectoryObjectEntity getEntity()
          Returns the duplicated entity
 void setEntity(DirectoryObjectEntity entity)
          Sets the duplicated entity
 
Methods inherited from class com.ibm.itim.exception.ITIMException
getLocalizedMessage, getMessage, getMessage, getMessageId, getThrowable, getTokens, normalize, toXML
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DuplicateEntryException

public DuplicateEntryException(java.lang.String message)
Constructs an DuplicateEntryException with a message.

Parameters:
message - String holding a descriptive message about the exception.

DuplicateEntryException

public DuplicateEntryException(java.lang.String msg,
                               java.lang.Throwable cause)
Constructs an DuplicateEntryException with a message and original exception.

Parameters:
msg - String holding a descriptive message about the exception.
cause - The original exception that caused the problem.

DuplicateEntryException

public DuplicateEntryException(java.lang.String message,
                               java.lang.Throwable cause,
                               DirectoryObjectEntity entity)
Constructs an DuplicateEntryException with a message and original exception.

Parameters:
message - String holding a descriptive message about the exception.
cause - The original exception that caused the problem.
entity - Identifies the entity that is duplicate to the one in the directory

DuplicateEntryException

public DuplicateEntryException(java.lang.String msg,
                               java.lang.Object[] tokenValues,
                               java.lang.Throwable cause,
                               DirectoryObjectEntity entity)
Constructs an DuplicateEntryException with a message and original exception.

Parameters:
msg - String holding a descriptive message about the exception.
tokenValues - Object[] containing string values for replaceable tokens in the message bundle string.
cause - The original exception that caused the problem.
entity - Identifies the entity that is duplicate to the one in the directory
Method Detail

getEntity

public DirectoryObjectEntity getEntity()
Returns the duplicated entity


setEntity

public void setEntity(DirectoryObjectEntity entity)
Sets the duplicated entity



IBM Tivoli Identity Manager 4.6
© Copyright International Business Machines Corporation 2005. All rights reserved. US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.