Added license and copyright notice.
[instantlauncher.git] / src / main / java / eu / svjatoslav / instantlauncher / Main.java
index 47f1cba..4711aee 100755 (executable)
@@ -1,21 +1,19 @@
-package eu.svjatoslav.instantlauncher;
-
-import eu.svjatoslav.commons.gui.dialog.ExceptionDialog;
+/*
+ * Instantlauncher. Copyright ©2012-2019, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of version 3 of the GNU Lesser General Public License
+ * or later as published by the Free Software Foundation.
+ */
 
-public class Main {
-
-    public static void main(final String[] args) {
+package eu.svjatoslav.instantlauncher;
 
-        try {
+import java.io.IOException;
 
-            final CommandlineHandler commandlineHandler = new CommandlineHandler();
-            commandlineHandler.parseCommandlineArguments(args);
+class Main {
 
-            final InstantLauncher instantLauncher = new InstantLauncher();
-            instantLauncher.run();
-        } catch (final Exception e) {
-            new ExceptionDialog(e);
-        }
+    public static void main(final String[] args) throws IOException {
+        new InstantLauncher().run();
     }
 
 }