We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 349616a commit 954678fCopy full SHA for 954678f
core/src/main/java/org/everit/json/schema/ValidationException.java
@@ -162,6 +162,13 @@ public String getMessage() {
162
return getPointerToViolation() + ": " + super.getMessage();
163
}
164
165
+ /**
166
+ * A JSON pointer denoting the part of the document which violates the schema. It always points
167
+ * from the root of the document to the violating data fragment, therefore it always starts with
168
+ * <code>#</code>.
169
+ *
170
+ * @return the JSON pointer
171
+ */
172
public String getPointerToViolation() {
173
return pointerToViolation.toString();
174
0 commit comments