description for unknown enum values
This commit is contained in:
parent
dc68c8445a
commit
796371648c
|
|
@ -62,7 +62,7 @@ public class LoganSquareEnumConverter<T extends Enum & LoganSquareEnum> extends
|
|||
if (defaultValue != null) {
|
||||
return defaultValue;
|
||||
}
|
||||
throw new ShouldNotHappenException();
|
||||
throw new ShouldNotHappenException("Enum parsing exception for value: " + string);
|
||||
}
|
||||
|
||||
@Nullable
|
||||
|
|
|
|||
Loading…
Reference in New Issue