if (log != null) log.println("Exception closing unmanaged connection: " + e);
log.info("further problems destroying connection: ", e); if (externalLog != null) externalLog.println("Exception closing unmanaged connection: " + e);
    public void connectionErrorOccurred(ConnectionEvent ce) {        PrintWriter log = ((FBManagedConnection)ce.getSource()).getLogWriter();        try {            ((FBManagedConnection)ce.getSource()).destroy();        }        catch (ResourceException e) {            if (log != null) log.println("Exception closing unmanaged connection: " + e);        }    }