void (@NotNull Reader reader, @NotNull IXMLBuilder builder, @Nullable IXMLValidator validator) { try (reader) { parse(new MyXMLReader(reader), builder, validator); } catch (ProcessCanceledException e) { throw e; } catch (Exception e) { LOG.error(e); } }