diff options
Diffstat (limited to 'sonar-application/src/main/java')
-rw-r--r-- | sonar-application/src/main/java/org/sonar/application/App.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-application/src/main/java/org/sonar/application/App.java b/sonar-application/src/main/java/org/sonar/application/App.java index ef64bc03688..fffc59bd000 100644 --- a/sonar-application/src/main/java/org/sonar/application/App.java +++ b/sonar-application/src/main/java/org/sonar/application/App.java @@ -46,7 +46,7 @@ public class App { this.javaVersion = javaVersion; } - public void start(String[] cliArguments) throws IOException { + public void start(String[] cliArguments) throws IOException, InterruptedException { AppSettingsLoader settingsLoader = new AppSettingsLoaderImpl(cliArguments, new ServiceLoaderWrapper()); AppSettings settings = settingsLoader.load(); // order is important - logging must be configured before any other components (AppFileSystem, ...) @@ -91,7 +91,7 @@ public class App { } } - public static void main(String... args) throws IOException { + public static void main(String... args) throws Exception { new App(JavaVersion.INSTANCE).start(args); } |