db.recycle();
notesDocManager = new NotesDocumentManager(this);
} catch (Exception e) {
LOGGER.log(Level.SEVERE, CLASS_NAME, e);
throw new RepositoryException("NotesConnectorSession error", e);
} finally {
closeNotesSession(ns);
}
// If we could not validate our config then let the connector
// manager know session creation has failed.
if (!configValidated) {
LOGGER.logp(Level.SEVERE, CLASS_NAME, METHOD,
"!!!!! Invalid Notes Connector System Configuration. !!!!!");
throw new RepositoryException("Invalid system setup document.");
}
LOGGER.exiting(CLASS_NAME, METHOD);
}