forked from I2P_Developers/i2p.i2p
lint: don't catch Exception, catch RuntimeException or checked exception.
omits SAM, BOB, reflection, commented-out code, and a few other places
This commit is contained in:
@@ -21,7 +21,7 @@ public class Exec {
|
||||
try { proc.exitValue(); } catch (Throwable t) { }
|
||||
Runtime.getRuntime().halt(0);
|
||||
|
||||
} catch (Exception e) {
|
||||
} catch (RuntimeException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user