コード例 #1
0
 protected void error(String path, String detail) {
   Violation violation = new Violation(Severity.ERROR, path, detail);
   violation.setVerifierInfo(this);
   violationListener.reportViolation(violation);
 }
コード例 #2
0
 protected void exception(String path, String detail, Throwable t) {
   Violation violation = new Violation(Severity.ERROR, path, detail, t);
   violation.setVerifierInfo(this);
   violationListener.reportViolation(violation);
 }
コード例 #3
0
 protected void warning(String path, String detail) {
   Violation violation = new Violation(Severity.WARNING, path, detail);
   violation.setVerifierInfo(this);
   violationListener.reportViolation(violation);
 }