Skip to content

Commit 63b5c97

Browse files
committed
match types ex eption fixed
1 parent 8eecd6b commit 63b5c97

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

common/client/src/main/java/zingg/common/client/MatchTypes.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public static String[] getAllMatchTypes() {
4242
return s;
4343
}
4444

45-
public static IMatchType getByName(String name) throws Exception{
45+
public static IMatchType getByName(String name) throws IllegalArgumentException{
4646
for (IMatchType zo: MatchTypes.allMatchTypes.values()) {
4747
if (zo.getName().equalsIgnoreCase(name)) {
4848
return zo;

0 commit comments

Comments
 (0)