summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 85fa8ae)
raw | patch | inline | side by side (parent: 85fa8ae)
author | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Sat, 16 Sep 2017 15:00:43 +0000 (18:00 +0300) | ||
committer | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Sat, 16 Sep 2017 15:00:43 +0000 (18:00 +0300) |
rtl/java/Launcher.java | patch | blob | history |
diff --git a/rtl/java/Launcher.java b/rtl/java/Launcher.java
index 3135732199c7bc03e68d3aae44dd41407cb6b277..98aceb8f179708caf8aba0bac33f6059d35befe4 100644 (file)
--- a/rtl/java/Launcher.java
+++ b/rtl/java/Launcher.java
class Launcher
{
public static void main(String[] args)
+ throws Throwable
{
/* Этап 1: Сохраняем список параметров */
Args.args = args;
System.err.println("Invalid module " + moduleName);
System.exit(1);
} catch(InvocationTargetException e) {
- System.err.println("Invalid module " + moduleName);
- System.exit(1);
+ throw e.getTargetException();
}
if(commandName == "")
System.err.println("Invalid command " + moduleName + "." + commandName);
System.exit(1);
} catch(InvocationTargetException e) {
- System.err.println("Invalid command " + moduleName + "." + commandName);
- System.exit(1);
+ throw e.getTargetException();
}
}
}