Better mod dialog layout / Less obnoxious button sound
This commit is contained in:
@@ -121,7 +121,7 @@ public class AndroidRhinoContext{
|
||||
}
|
||||
return loadClass(dex, name);
|
||||
}catch(IOException | ClassNotFoundException e){
|
||||
throw new FatalLoadingException(e);
|
||||
throw new RuntimeException("Failed to define class", e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -151,14 +151,6 @@ public class AndroidRhinoContext{
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/** Might be thrown in any Rhino method that loads bytecode if the loading failed. */
|
||||
public static class FatalLoadingException extends RuntimeException{
|
||||
FatalLoadingException(Throwable t){
|
||||
super("Failed to define class", t);
|
||||
}
|
||||
}
|
||||
|
||||
static class FileAndroidClassLoader extends BaseAndroidClassLoader{
|
||||
private static int instanceCounter = 0;
|
||||
private final File dexFile;
|
||||
|
||||
Reference in New Issue
Block a user