make this less syntactically confusing

This commit is contained in:
Robert Muir 2015-07-31 14:13:00 -04:00
parent 5f9edd26ea
commit d173b89d11
3 changed files with 3 additions and 3 deletions

View File

@ -222,7 +222,7 @@ public class Bootstrap {
}
}
public static void main(String[] args) throws Exception {
public static void main(String[] args) throws Throwable {
BootstrapCLIParser bootstrapCLIParser = new BootstrapCLIParser();
CliTool.ExitStatus status = bootstrapCLIParser.execute(args);

View File

@ -24,7 +24,7 @@ package org.elasticsearch.bootstrap;
*/
public class Elasticsearch extends Bootstrap {
public static void main(String[] args) throws Exception {
public static void main(String[] args) throws Throwable {
Bootstrap.main(args);
}
}

View File

@ -25,7 +25,7 @@ package org.elasticsearch.bootstrap;
*/
public class ElasticsearchF {
public static void main(String[] args) throws Exception {
public static void main(String[] args) throws Throwable {
System.setProperty("es.foreground", "yes");
Bootstrap.main(args);
}