Code refactoring and cleanup. Configurable directory opening command.
[instantlauncher.git] / src / main / java / eu / svjatoslav / instantlauncher / Main.java
index acab4e3..c5d320b 100755 (executable)
@@ -1,17 +1,11 @@
 package eu.svjatoslav.instantlauncher;
 
-import eu.svjatoslav.commons.gui.dialog.ExceptionDialog;
+import java.io.IOException;
 
-public class Main {
+class Main {
 
-    public static void main(final String[] args) {
-
-        try {
-            final InstantLauncher instantLauncher = new InstantLauncher();
-            instantLauncher.run();
-        } catch (final Exception e) {
-            ExceptionDialog.showException(e);
-        }
+    public static void main(final String[] args) throws IOException {
+        new InstantLauncher().run();
     }
 
 }