LdapResult result = req.getResultResponse().getLdapResult();
result.setResultCode( ResultCodeEnum.OTHER );
result.setDiagnosticMessage( ResultCodeEnum.OTHER
+ ": Extended operation handler for the specified EXTENSION_OID (" + req.getRequestName()
+ ") has failed to process your request:\n" + ExceptionUtils.getStackTrace( e ) );
ExtendedResponse resp = req.getResultResponse();
session.getIoSession().write( resp );
}
}