private void openIOHandle(Handle handle) {
try {
handle.open();
} catch (IOException ioe) {
errorCount.incrementAndGet();
logger.log(OpLevel.ERROR,
"Failed to open handle={4}, vm.name={0}, tid={1}, event.sink={2}, source={3}, reason={5}",
Utils.getVMName(), Thread.currentThread().getId(), eventSink, getSource(), handle,
Utils.getExceptionMessages(ioe), ioe);
} catch (Throwable e) {
errorCount.incrementAndGet();
logger.log(OpLevel.ERROR, "Failed to open handle={4}, vm.name={0}, tid={1}, event.sink={2}, source={3}",
Utils.getVMName(), Thread.currentThread().getId(), eventSink, getSource(), handle, e);
}
}