Skip to content

Commit b9b733a

Browse files
Merge pull request #823 from metacosm/improve-error-message
Improve error message.
2 parents 648cd44 + 75edb2e commit b9b733a

File tree

1 file changed

+1
-1
lines changed
  • jsonschema2pojo-core/src/main/java/org/jsonschema2pojo/util

1 file changed

+1
-1
lines changed

jsonschema2pojo-core/src/main/java/org/jsonschema2pojo/util/TypeUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public static JClass resolveType(JClassContainer _package, String typeDefinition
4141

4242
return buildClass(_package, c, 0);
4343
} catch (ParseException e) {
44-
throw new GenerationException(e);
44+
throw new GenerationException("Couldn't parse type: " + typeDefinition, e);
4545
}
4646
}
4747

0 commit comments

Comments
 (0)