Esempio n. 1
0
 @Override
 public InvocationResult execute(CommunityAdmin delegate) {
   try {
     return new InvocationResult(
         new Result(delegate.deleteUserGroup(context, sessionId, userGroupId)));
   } catch (GeneralError exc) {
     return new InvocationResult(exc);
   } catch (RuntimeException exc) {
     return new InvocationResult(exc);
   }
 }
 @Override
 public InvocationResult execute(CommunityAdmin delegate) {
   try {
     return new InvocationResult(
         new Result(delegate.getModeratingBetCommunities(context, sessionId)));
   } catch (GeneralError exc) {
     return new InvocationResult(exc);
   } catch (RuntimeException exc) {
     return new InvocationResult(exc);
   }
 }