code: protected List<AccessControlEntry> readACLPermisions(String cid) throws SQLException, IllegalACLException
     {
        List<AccessControlEntry> naPermissions = new ArrayList<AccessControlEntry>();
        ResultSet exoPerm = findPropertyByName(cid, Constants.EXO_PERMISSIONS.getAsString());
        try
        {
           if (exoPerm.next())
           {
              do
              {
                 naPermissions.add(AccessControlEntry.parse(new String(exoPerm.getBytes(COLUMN_VDATA))));
              }
              while (exoPerm.next());
  
              return naPermissions;
           }
           else
           {
              throw new IllegalACLException("Property exo:permissions is not found for node with id: "
                 + getIdentifier(cid));
           }
        }
        finally
        {
           try
           {
              exoPerm.close();
           }
           catch (SQLException e)
           {
              LOG.error("Can't close the ResultSet: " + e.getMessage());
           }
        }
     }
docs: Return permission values or throw an exception. We assume the node is mix:privilegeable.
  
  @param cid
  Node id
  @return list of ACL entries
  @throws SQLException
  database error
  @throws IllegalACLException
  if property exo:permissions is not found for node