com.ibm.itim.dataservices.model
Class DuplicateEntryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.itim.exception.ITIMException
              extended by com.ibm.itim.dataservices.model.ModelException
                  extended by com.ibm.itim.dataservices.model.ModelCreationException
                      extended by 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, DUPLICATE_URI, ENTRY_ALREADY_EXIST, INVALID_ARG, INVALID_ATTRIBUTES, INVALID_CATEGORY, INVALID_DN, INVALID_TARGET_SIZE, INVALID_TARGET_TYPE, INVALID_TARGET_TYPE_FOR_GLOBAL, 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, TENANT_ID_NOT_FOUND
 
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, printStackTrace, printStackTrace, printStackTrace, toXML
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, 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

Parameters:
entity -


IBM Security Identity Manager 6.0.0
© Copyright International Business Machines Corporation 2007, 2012. All rights reserved. US Government Users Restricited Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.