throw new IllegalStateException("exception loading certificate: " + certName, e);
throw new IllegalStateException("exception loading certificate: " + certName);
    private X509Certificate loadCert(        String certName)    {        X509Certificate cert = (X509Certificate)certs.get(certName);                if (cert != null)        {            return cert;        }                try        {            InputStream in = new FileInputStream(getPkitsHome() + "/certs/" + certName + ".crt");                        CertificateFactory fact = CertificateFactory.getInstance("X.509", "BC");                        cert = (X509Certificate)fact.generateCertificate(in);                certs.put(certName, cert);                        return cert;        }        catch (Exception e)        {            throw new IllegalStateException("exception loading certificate: " + certName, e);        }    }