public class IdRepoDuplicateObjectException extends IdRepoException
IdRepo
is asked to
create an object with a name that is already used.Modifier and Type | Method and Description |
---|---|
static IdRepoDuplicateObjectException |
identityOfTypeAlreadyExists(String name,
String type)
Create an instance using the localized
IdRepoBundle.IDENTITY_OF_TYPE_ALREADY_EXISTS
error message populated with the provided name and type. |
static IdRepoDuplicateObjectException |
nameAlreadyExists(String name)
Create an instance using the localized
IdRepoBundle.NAME_ALREADY_EXISTS
error message populated with the provided name. |
getErrorCode, getL10NMessage, getLDAPErrorCode, getMessage, getMessageArgs, getResourceBundleName, setLDAPErrorCode, toString
public static IdRepoDuplicateObjectException nameAlreadyExists(String name)
IdRepoBundle.NAME_ALREADY_EXISTS
error message populated with the provided name.name
- An identity name that is already takenpublic static IdRepoDuplicateObjectException identityOfTypeAlreadyExists(String name, String type)
IdRepoBundle.IDENTITY_OF_TYPE_ALREADY_EXISTS
error message populated with the provided name and type.name
- An identity name that is already takentype
- The identity typeCopyright © 2010-2014, ForgeRock All Rights Reserved.