use of org.forgerock.openam.cts.exceptions.LdapInitializationFailedException in project OpenAM by OpenRock.
the class ReaperConnection method initConnection.
/**
* If this is the first call, then initialise the connection.
*
* @throws org.forgerock.openam.sm.datalayer.api.LdapOperationFailedException If there was an error getting the connection.
*/
private void initConnection() throws LdapInitializationFailedException {
if (connection == null) {
try {
connection = factory.create();
impl.setConnection(connection);
} catch (DataLayerException e) {
throw new LdapInitializationFailedException(e);
}
}
}
Aggregations