summaryrefslogtreecommitdiff
path: root/jurt/com/sun/star/lib/uno/bridges/java_remote/XConnectionOutputStream_Adapter.java
diff options
context:
space:
mode:
Diffstat (limited to 'jurt/com/sun/star/lib/uno/bridges/java_remote/XConnectionOutputStream_Adapter.java')
-rw-r--r--jurt/com/sun/star/lib/uno/bridges/java_remote/XConnectionOutputStream_Adapter.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/jurt/com/sun/star/lib/uno/bridges/java_remote/XConnectionOutputStream_Adapter.java b/jurt/com/sun/star/lib/uno/bridges/java_remote/XConnectionOutputStream_Adapter.java
index 3730722eb12b..954afe8df6a0 100644
--- a/jurt/com/sun/star/lib/uno/bridges/java_remote/XConnectionOutputStream_Adapter.java
+++ b/jurt/com/sun/star/lib/uno/bridges/java_remote/XConnectionOutputStream_Adapter.java
@@ -44,7 +44,7 @@ class XConnectionOutputStream_Adapter extends OutputStream {
try {
_xConnection.write(_bytes);
} catch(com.sun.star.io.IOException ioException) {
- throw new IOException(ioException.toString());
+ throw new IOException(ioException);
}
if(DEBUG) System.err.println("#### " + this.getClass() + " - one byte written:" + _bytes[0]);
@@ -65,7 +65,7 @@ class XConnectionOutputStream_Adapter extends OutputStream {
try {
_xConnection.write(bytes);
} catch(com.sun.star.io.IOException ioException) {
- throw new IOException(ioException.toString());
+ throw new IOException(ioException);
}
}
@@ -74,7 +74,7 @@ class XConnectionOutputStream_Adapter extends OutputStream {
try {
_xConnection.flush();
} catch(com.sun.star.io.IOException ioException) {
- throw new IOException(ioException.toString());
+ throw new IOException(ioException);
}
}
}