4041424344454647484950
/** * {@inheritDoc} */ @Override public Role getRole(String roleId) throws DAOOperationException { Role role = getById(roleId); if(role == null) { throw new DAOOperationException("Unknown role '" + roleId + "'", null); } return role; }