|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
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.
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 |
public DuplicateEntryException(java.lang.String message)
message
- String holding a descriptive message about the exception.public DuplicateEntryException(java.lang.String msg, java.lang.Throwable cause)
msg
- String holding a descriptive message about the exception.cause
- The original exception that caused the problem.public DuplicateEntryException(java.lang.String message, java.lang.Throwable cause, DirectoryObjectEntity entity)
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 directorypublic DuplicateEntryException(java.lang.String msg, java.lang.Object[] tokenValues, java.lang.Throwable cause, DirectoryObjectEntity entity)
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 directoryMethod Detail |
public DirectoryObjectEntity getEntity()
public void setEntity(DirectoryObjectEntity entity)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |