error("Fel vid upprensning: ", se);
error("Error cleaning up: ", se);
    public Collection listRevokedCertificates(Admin admin) {        debug(">listRevokedCertificates()");        Connection con = null;        PreparedStatement ps = null;        ;        ResultSet result = null;        try {            // TODO:            // This should only list a few thousend certificates at a time, in case there            // are really many revoked certificates after some time...            con = getConnection();            ps = con.prepareStatement(                    "select fingerprint from CertificateData where status=? ORDER BY expireDate DESC");            ps.setInt(1, CertificateData.CERT_REVOKED);            result = ps.executeQuery();            ArrayList vect = new ArrayList();            while (result.next()) {                vect.add(result.getString(1));            }            debug("<listRevokedCertificates()");            return vect;        } catch (Exception e) {            throw new EJBException(e);        } finally {            try {                if (result != null) {                    result.close();                }                if (ps != null) {                    ps.close();                }                if (con != null) {                    con.close();                }            } catch (SQLException se) {                error("Fel vid upprensning: ", se);            }        }    }