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:
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(String message)
AlreadyExistsException(String message, Throwable ex)
AlreadyExistsException(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
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AlreadyExistsException
public AlreadyExistsException()
- See Also:
ConnectorException()
-
AlreadyExistsException
public AlreadyExistsException(String message)
- See Also:
ConnectorException(String)
-
AlreadyExistsException
public AlreadyExistsException(Throwable ex)
- See Also:
ConnectorException(Throwable)
-
AlreadyExistsException
public AlreadyExistsException(String message, 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.
-
-