From b68ea0f2b12c4c5189c5fc7c182a1b242dc63579 Mon Sep 17 00:00:00 2001 From: Andrew Branson Date: Fri, 3 Oct 2014 23:18:47 +0200 Subject: Rolled back the renaming of existing exceptions. --- src/main/idl/Entity.idl | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/main/idl/Entity.idl') diff --git a/src/main/idl/Entity.idl b/src/main/idl/Entity.idl index ff0dad3..ef2efbc 100644 --- a/src/main/idl/Entity.idl +++ b/src/main/idl/Entity.idl @@ -64,9 +64,9 @@ module entity in string workflow, in string collections ) raises( common::AccessRightsException, - common::InvalidData, + common::InvalidDataException, common::PersistencyException, - common::ObjectNotFound, + common::ObjectNotFoundException, common::InvalidCollectionModification ); /** @@ -91,7 +91,7 @@ module entity **/ string queryData( in string path ) raises( common::AccessRightsException, - common::ObjectNotFound, + common::ObjectNotFoundException, common::PersistencyException ); /** @@ -129,11 +129,11 @@ module entity in string requestData ) raises( common::AccessRightsException, - common::InvalidTransition, - common::ObjectNotFound, - common::InvalidData, + common::InvalidTransitionException, + common::ObjectNotFoundException, + common::InvalidDataException, common::PersistencyException, - common::ObjectAlreadyExists, + common::ObjectAlreadyExistsException, common::InvalidCollectionModification); @@ -152,7 +152,7 @@ module entity string queryLifeCycle( in common::SystemKey agentKey, in boolean filter ) raises( common::AccessRightsException, - common::ObjectNotFound, + common::ObjectNotFoundException, common::PersistencyException ); }; @@ -182,16 +182,16 @@ module entity * @throws CannotManageException when an error occurs writing the data to LDAP **/ void addRole( in string roleName ) - raises( common::ObjectNotFound, - common::CannotManage ); + raises( common::ObjectNotFoundException, + common::CannotManageException ); /** Remove this Agent from the given role * @param the role name to remove * @throws CannotManageException when an error occurs writing the data to LDAP **/ void removeRole( in string roleName ) - raises( common::ObjectNotFound, - common::CannotManage ); + raises( common::ObjectNotFoundException, + common::CannotManageException ); }; }; //end of module entity -- cgit v1.2.3