get things compiling again..

This commit is contained in:
benfry
2004-12-09 05:06:47 +00:00
parent d74ac55906
commit ba0e333437
6 changed files with 176 additions and 70 deletions

View File

@@ -68,7 +68,7 @@ class PdeMessageSiphon implements Runnable {
(mess.indexOf("Bad file descriptor") != -1)) {
//if (e.getMessage().indexOf("Bad file descriptor") == -1) {
//System.err.println("PdeMessageSiphon err " + e);
e.printStackTrace();
//e.printStackTrace();
}
thread = null;
}

View File

@@ -408,7 +408,10 @@ public class PdeRuntime implements PdeMessageConsumer {
// if s.length <=2, ignore it because that probably means
// that it's just the platform line-terminators.
if (newMessage && s.length() > 2) {
if (s.length() < 2) return;
//if (newMessage && s.length() > 2) {
if (newMessage) {
exception = new PdeException(s); // type of java ex
exception.hideStackTrace = true;
//System.out.println("setting ex type to " + s);