Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ public Object fromAbstract(MapperContext context, AbstractElement element, Class
try {
return Enum.valueOf(type, element.string());
} catch (IllegalArgumentException ex) {
throw new MapperException("There is no enum constant '" + element.string() + "'");
throw new MapperException("There is no enum constant '" + element.string() + "' in '" + type.getName() + "'");
}
}
if(type.equals(UUID.class))
Expand Down