132133134135136137138139
} return result; } catch (Exception e) { throw new BackendException("Adding role " + name + " failed!", e); } }
167168169170171172173174
result = m_store.getRoleByName(roleName); } return wireChangeListener(result); } catch (Exception e) { throw new BackendException("Failed to get role by name: " + roleName + "!", e); } }
190191192193194195196197198199
matchingRoles.add(wireChangeListener(role)); } } } catch (Exception e) { throw new BackendException("Failed to get roles!", e); } return matchingRoles; }
225226227228229230231232233234
264265266267268269270271
} return false; } catch (Exception e) { throw new BackendException("Failed to remove role " + name + "!", e); } }
346347348349350351352353
group.removeMember(removedRole); } } } catch (Exception e) { throw new BackendException("Failed to get all roles!", e); } }