public class DuplicateEntryException extends ModelCreationException
ATTR_IN_USE, ATTRIBUTE_IN_USE, CREATE_ERROR, DUPLICATE_ENTRY, DUPLICATE_URI, ENTRY_ALREADY_EXIST, INVALID_ARG, INVALID_ATTRIBUTES, INVALID_CATEGORY, INVALID_DN, INVALID_SCIM_FILTER, 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 and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
DirectoryObjectEntity |
getEntity()
Returns the duplicated entity
|
void |
setEntity(DirectoryObjectEntity entity)
Sets the duplicated entity
|
getLocalizedMessage, getMessage, getMessage, getMessageId, getThrowable, getTokens, normalize, printStackTrace, printStackTrace, printStackTrace, toXMLpublic 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 directorypublic DirectoryObjectEntity getEntity()
public void setEntity(DirectoryObjectEntity entity)
entity -