Fix some bugs in remote/sync (still not complete)
[jvcard.git] / src / be / nikiroo / jvcard / launcher / Main.java
index b0e3bd80ca43ffbb69247132ccb2c581fcd7b3cb..a9587d275151c7817250714d907f8fb5379cd1d0 100644 (file)
@@ -211,8 +211,7 @@ public class Main {
                                        System.err
                                                        .println("I/O Exception: Cannot start the server");
                                } else {
-                                       System.err.println("FATAL ERROR");
-                                       e.printStackTrace();
+                                       System.err.println("Remoting support not available");
                                        System.exit(ERR_INTERNAL);
                                }
                        }
@@ -232,8 +231,7 @@ public class Main {
                                        System.err
                                                        .println("I/O Exception: Cannot start the program with the given cards");
                                } else {
-                                       System.err.println("FATAL ERROR");
-                                       e.printStackTrace();
+                                       System.err.println("TUI support not available");
                                        System.exit(ERR_INTERNAL);
                                }
                        }
@@ -279,7 +277,7 @@ public class Main {
                } catch (IOException ioe) {
                        throw ioe;
                } catch (Exception e) {
-                       throw new IOException("Remoting not available", e);
+                       throw new IOException("Remoting support not available", e);
                }
 
                return card;