Author: toad
Date: 2007-04-18 19:21:10 +0000 (Wed, 18 Apr 2007)
New Revision: 12792

Modified:
   trunk/freenet/src/freenet/io/comm/Message.java
Log:
Fix compile

Modified: trunk/freenet/src/freenet/io/comm/Message.java
===================================================================
--- trunk/freenet/src/freenet/io/comm/Message.java      2007-04-18 19:16:44 UTC 
(rev 12791)
+++ trunk/freenet/src/freenet/io/comm/Message.java      2007-04-18 19:21:10 UTC 
(rev 12792)
@@ -200,7 +200,8 @@
                        }
                        dos.flush();
                } catch (IOException e) {
-                       throw new IllegalStateException(e);
+                       e.printStackTrace();
+                       throw new IllegalStateException(e.getMessage());
                }

                if(_subMessages != null && includeSubMessages) {
@@ -210,7 +211,8 @@
                                        dos.writeShort(temp.length);
                                        dos.write(temp);
                                } catch (IOException e) {
-                                       throw new IllegalStateException(e);
+                                       e.printStackTrace();
+                                       throw new 
IllegalStateException(e.getMessage());
                                }
                        }
                }


Reply via email to