Support deletion of email address via REST

Change-Id: I3637a7f4497ddc2f88523728e5315ff56da92b8f
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
Edwin Kempin
2013-05-17 14:15:16 +02:00
parent 18fdb9d0ac
commit 4fbf70f0aa
5 changed files with 122 additions and 30 deletions

View File

@@ -260,6 +260,8 @@ final class SetAccountCommand extends BaseCommand {
manager.unlink(id, AuthRequest.forEmail(mailAddress));
} catch (AccountException ex) {
throw die(ex.getMessage());
} catch (OrmException ex) {
throw die(ex.getMessage());
}
}