log.log(Level.FINE, "cannot load module", e);
return new ETuple2(ERT.am_error, e.reason());
} catch (ThreadDeath e) {
throw e;
} catch (Throwable e) {
ErlangError ee = new ErlangError(ERT.am_badfile, e, mod, bin);
ETuple2 result = new ETuple2(ERT.am_error, ee.reason());
log.log(Level.SEVERE, "cannot load module "+mod, e);
return result;
}