You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IllegalStateException isn't really appropriate here ("Signals that a method has been invoked at an illegal or inappropriate time."), and the user gets no useful information from the exception since it has no message either.
The text was updated successfully, but these errors were encountered:
The quoted code wasn't supposed to verify that the format is compatible with Reader, but to detect cases that shouldn't happen (switch didn't match somehow..)
When one of the read methods is passed an unsupported format (apart from MCP), the code throws an IllegalStateException with no message:
mapping-io/src/main/java/net/fabricmc/mappingio/MappingReader.java
Lines 190 to 191 in 597f072
IllegalStateException isn't really appropriate here ("Signals that a method has been invoked at an illegal or inappropriate time."), and the user gets no useful information from the exception since it has no message either.
The text was updated successfully, but these errors were encountered: