Class AlreadyExistsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.identityconnectors.framework.common.exceptions.ConnectorException
-
- org.identityconnectors.framework.common.exceptions.AlreadyExistsException
-
- All Implemented Interfaces:
java.io.Serializable
public class AlreadyExistsException extends ConnectorException
AlreadyExistsException is thrown to indicate ifCreateApiOp
attempts to create an object that exists prior to the method execution orUpdateApiOp
attempts to rename an object to that exists prior to the method execution.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AlreadyExistsException()
AlreadyExistsException(java.lang.String message)
AlreadyExistsException(java.lang.String message, java.lang.Throwable ex)
AlreadyExistsException(java.lang.Throwable ex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Uid
getUid()
AlreadyExistsException
initUid(Uid uid)
Sets the Uid of existing Object.-
Methods inherited from class org.identityconnectors.framework.common.exceptions.ConnectorException
rethrow, wrap
-
-
-
-
Constructor Detail
-
AlreadyExistsException
public AlreadyExistsException()
- See Also:
ConnectorException()
-
AlreadyExistsException
public AlreadyExistsException(java.lang.String message)
- See Also:
ConnectorException(String)
-
AlreadyExistsException
public AlreadyExistsException(java.lang.Throwable ex)
- See Also:
ConnectorException(Throwable)
-
AlreadyExistsException
public AlreadyExistsException(java.lang.String message, java.lang.Throwable ex)
- See Also:
ConnectorException(String, Throwable)
-
-
Method Detail
-
getUid
public Uid getUid()
-
initUid
public AlreadyExistsException initUid(Uid uid)
Sets the Uid of existing Object. Connectors who throw this exception from theirCreateOp
orUpdateOp
should set the object's Uid if available.- Parameters:
uid
- The uid.- Returns:
- A reference to this.
-
-