You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Shawn McKinney (JIRA)" <ji...@apache.org> on 2017/06/25 18:08:00 UTC
[jira] [Created] (FC-215) User Add entry already exists exception
Shawn McKinney created FC-215:
---------------------------------
Summary: User Add entry already exists exception
Key: FC-215
URL: https://issues.apache.org/jira/browse/FC-215
Project: FORTRESS
Issue Type: Improvement
Affects Versions: 2.0.0
Reporter: Shawn McKinney
Assignee: Shawn McKinney
Priority: Minor
Fix For: 2.0.1
On user add distinguish between LDAP exception and user already present"
User create( User entity ) throws CreateException
{
...
catch ( LdapEntryAlreadyExistsException e )
{
String error = "create userId [" + entity.getUserId() + "] failed, already exists in directory";
...
}
catch ( LdapException e )
{
String error = "create userId [" + entity.getUserId() + "] caught LDAPException=" + e.getMessage();
....
}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)