We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42c33e5 commit 572434eCopy full SHA for 572434e
java/src/org/openqa/selenium/json/Json.java
@@ -53,6 +53,8 @@ public <T> T toType(String source, Type typeOfT) {
53
public <T> T toType(String source, Type typeOfT, PropertySetting setter) {
54
try (StringReader reader = new StringReader(source)) {
55
return toType(reader, typeOfT, setter);
56
+ } catch (JsonException e) {
57
+ throw new JsonException("Unable to parse: " + source, e);
58
}
59
60
0 commit comments