final DataInputStream dataInputStream = new DataInputStream(inputStream);
final LDIF ldif = new LDIF(dataInputStream);
LDIFRecord record = ldif.nextRecord();
while (record != null) {
this.processRecord(connection, record);
record = ldif.nextRecord();
}
} catch (LDAPException e) {
if (!this.continueOnError) {
throw new MojoExecutionException("Error processing: " + this.ldapFiles[i], e);
} else {