err.println(wrapText(ae.getMessage(), MAX_LINE_WIDTH));
return;
}
}
DeleteResponseProtocolOp op =
responseMessage.getDeleteResponseProtocolOp();
int resultCode = op.getResultCode();
Message errorMessage = op.getErrorMessage();
if(resultCode != SUCCESS && resultCode != REFERRAL &&
!deleteOptions.continueOnError())
{
Message msg = INFO_OPERATION_FAILED.get("DELETE");
throw new LDAPException(resultCode, errorMessage, msg,
op.getMatchedDN(), null);
} else
{
if(resultCode != SUCCESS && resultCode != REFERRAL)
{
Message msg = INFO_OPERATION_FAILED.get("DELETE");
LDAPToolUtils.printErrorMessage(err, msg, resultCode, errorMessage,
op.getMatchedDN());
} else
{
Message msg = INFO_OPERATION_SUCCESSFUL.get("DELETE", line);
out.println(msg);