{ perms.add(instanceFromResultSet(rs)); }
} finally { rs.close(); }
} finally { stmt.close(); }
} catch (SQLException sqle) {
log.error("Problem retrieving permissions", sqle);
throw new AuthorizationException("Problem retrieving Permissions [" + sqle.getMessage() + "] for query=[" + query +
"] for owner=[" + owner + "] and principal=[" + principal + "] and activity=[" + activity +
"] and target=[" + target + "] and type=[" + type + "]", sqle);
} finally { RDBMServices.releaseConnection(conn); }
if (log.isTraceEnabled()) {