Housekeeping

This commit is contained in:
Mumfrey committed 2016-02-02 13:21:02 +00:00
1 parent 1e7f351115
commit 19272e1170
28 files changed
+123 -97

No files matched your search

@@ -28,6 +28,8 @@ import java.io.File;
import java.io.IOException;
import java.nio.charset.Charset;
import org.spongepowered.asm.mixin.MixinException;
import com.google.common.collect.BiMap;
import com.google.common.collect.HashBiMap;
import com.google.common.io.Files;
@@ -64,7 +66,7 @@ public class SrgContainer {
} else if (type.equals("MD")) {
this.methodMap.forcePut(new SrgMethod(args[0], args[1]), new SrgMethod(args[2], args[3]));
} else {
throw new RuntimeException("Invalid SRG file: " + srg);
throw new MixinException("Invalid SRG file: " + srg);
}
}
}