make this less syntactically confusing
This commit is contained in:
parent
5f9edd26ea
commit
d173b89d11
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue