diff options
Diffstat (limited to 'jurt/com/sun/star/lib/uno/bridges/java_remote/XConnectionInputStream_Adapter.java')
-rw-r--r-- | jurt/com/sun/star/lib/uno/bridges/java_remote/XConnectionInputStream_Adapter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jurt/com/sun/star/lib/uno/bridges/java_remote/XConnectionInputStream_Adapter.java b/jurt/com/sun/star/lib/uno/bridges/java_remote/XConnectionInputStream_Adapter.java index 87b3ea19d1fc..48fea08bd216 100644 --- a/jurt/com/sun/star/lib/uno/bridges/java_remote/XConnectionInputStream_Adapter.java +++ b/jurt/com/sun/star/lib/uno/bridges/java_remote/XConnectionInputStream_Adapter.java @@ -46,7 +46,7 @@ class XConnectionInputStream_Adapter extends InputStream { try { len = _xConnection.read(_bytes, 1); } catch(com.sun.star.io.IOException ioException) { - throw new IOException(ioException.toString()); + throw new IOException(ioException); } if(DEBUG) System.err.println("#### " + getClass().getName() + " - one byte read:" + _bytes[0][0]); @@ -61,7 +61,7 @@ class XConnectionInputStream_Adapter extends InputStream { try { len = _xConnection.read(_bytes, len - off); } catch(com.sun.star.io.IOException ioException) { - throw new IOException(ioException.toString()); + throw new IOException(ioException); } System.arraycopy(_bytes[0], 0, b, off, len); |