[ 
https://issues.apache.org/jira/browse/FC-215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shawn McKinney closed FC-215.
-----------------------------

> 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)

Reply via email to