git://git.nikiroo.be
/
jvcard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix some bugs in remote/sync (still not complete)
[jvcard.git]
/
src
/
be
/
nikiroo
/
jvcard
/
launcher
/
Main.java
diff --git
a/src/be/nikiroo/jvcard/launcher/Main.java
b/src/be/nikiroo/jvcard/launcher/Main.java
index b0e3bd80ca43ffbb69247132ccb2c581fcd7b3cb..a9587d275151c7817250714d907f8fb5379cd1d0 100644
(file)
--- a/
src/be/nikiroo/jvcard/launcher/Main.java
+++ b/
src/be/nikiroo/jvcard/launcher/Main.java
@@
-211,8
+211,7
@@
public class Main {
System.err
.println("I/O Exception: Cannot start the server");
} else {
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);
}
}
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("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);
}
}
System.exit(ERR_INTERNAL);
}
}
@@
-279,7
+277,7
@@
public class Main {
} catch (IOException ioe) {
throw ioe;
} catch (Exception e) {
} 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;
}
return card;