Avoid JDK 7+ AssertionError constructor in 4.3.x line
This commit is contained in:
parent
1332482c40
commit
50235be746
|
|
@ -260,7 +260,7 @@ public class JsonPathResultMatchers {
|
|||
return content.substring(this.prefix.length());
|
||||
}
|
||||
catch (StringIndexOutOfBoundsException ex) {
|
||||
throw new AssertionError("JSON prefix \"" + this.prefix + "\" not found", ex);
|
||||
throw new AssertionError("JSON prefix \"" + this.prefix + "\" not found: " + ex);
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue