Skip to content

Commit 94a2859

Browse files
authored
Merge pull request #43 from moip/master
Error Message
2 parents 5f258bd + 7a12059 commit 94a2859

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ target
66
.fbExcludeFilterFile
77
.pmd
88
.pmdruleset.xml
9+
.idea
10+
*.iml

core/src/main/java/org/everit/json/schema/ValidationException.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,8 @@ public String getMessage() {
265265
return getPointerToViolation() + ": " + super.getMessage();
266266
}
267267

268+
public String getErrorMessage() { return super.getMessage(); }
269+
268270
/**
269271
* A JSON pointer denoting the part of the document which violates the schema. It always points
270272
* from the root of the document to the violating data fragment, therefore it always starts with

0 commit comments

Comments
 (0)