We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8eecd6b commit 63b5c97Copy full SHA for 63b5c97
1 file changed
common/client/src/main/java/zingg/common/client/MatchTypes.java
@@ -42,7 +42,7 @@ public static String[] getAllMatchTypes() {
42
return s;
43
}
44
45
- public static IMatchType getByName(String name) throws Exception{
+ public static IMatchType getByName(String name) throws IllegalArgumentException{
46
for (IMatchType zo: MatchTypes.allMatchTypes.values()) {
47
if (zo.getName().equalsIgnoreCase(name)) {
48
return zo;
0 commit comments