protected void error(String path, String detail) { Violation violation = new Violation(Severity.ERROR, path, detail); violation.setVerifierInfo(this); violationListener.reportViolation(violation); }
protected void exception(String path, String detail, Throwable t) { Violation violation = new Violation(Severity.ERROR, path, detail, t); violation.setVerifierInfo(this); violationListener.reportViolation(violation); }
protected void warning(String path, String detail) { Violation violation = new Violation(Severity.WARNING, path, detail); violation.setVerifierInfo(this); violationListener.reportViolation(violation); }