error("Error adding hard token: ",g);
    public boolean addHardTokenIssuer(Admin admin, String alias, BigInteger certificatesn,        String certissuerdn, HardTokenIssuer issuerdata) {        debug(">addHardTokenIssuer(alias: " + alias + ")");        boolean returnval = false;        try {            hardtokenissuerhome.findByAlias(alias);        } catch (FinderException e) {            try {                hardtokenissuerhome.findByCertificateSN(certificatesn.toString(16), certissuerdn);            } catch (FinderException f) {                try {                    hardtokenissuerhome.create(findFreeHardTokenIssuerId(), alias, certificatesn,                        certissuerdn, issuerdata);                    returnval = true;                } catch (Exception g) {                }            }        }        try {            if (returnval) {                getLogSession().log(admin, LogEntry.MODULE_HARDTOKEN, new java.util.Date(), null,                    null, LogEntry.EVENT_INFO_HARDTOKENISSUERDATA,                    "Hard token issuer " + alias + " added.");            } else {                getLogSession().log(admin, LogEntry.MODULE_HARDTOKEN, new java.util.Date(), null,                    null, LogEntry.EVENT_ERROR_HARDTOKENISSUERDATA,                    "Error adding hard token issuer " + alias);            }        } catch (RemoteException e) {            throw new EJBException(e);        }        debug("<addHardTokenIssuer()");        return returnval;    }