We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7dd0a4 commit b1ab1b7Copy full SHA for b1ab1b7
1 file changed
src/main/java/com/bladecoder/ink/runtime/Json.java
@@ -745,7 +745,7 @@ public static ListDefinitionsOrigin jTokenToListDefinitions(Object obj) {
745
746
for (int i = 0; i < CommandType.values().length - 1; ++i) {
747
if (controlCommandNames[i] == null)
748
- throw new ExceptionInInitializerError("Control command not accounted for in serialisation");
+ throw new RuntimeException("Control command (index " + i + ") not accounted for in serialisation");
749
}
750
751
0 commit comments