summaryrefslogtreecommitdiff
path: root/libjava/java/io
diff options
context:
space:
mode:
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-21 08:31:01 +0000
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-21 08:31:01 +0000
commit0755252b79f853560da0e8d765490f750fd4ca6c (patch)
treeb137ac35bf8adf8b4d32bc1bbff43bff05a04eb1 /libjava/java/io
parentf9c55f1cda21df24064e61d22562d8b4c1c95505 (diff)
downloadgcc-0755252b79f853560da0e8d765490f750fd4ca6c.tar.gz
2005-02-21 Mark Wielaard <mark@klomp.org>
* java/io/FileDescriptor.java (sync): Add real exception to SyncFailedException. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95324 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/io')
-rw-r--r--libjava/java/io/FileDescriptor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/java/io/FileDescriptor.java b/libjava/java/io/FileDescriptor.java
index e3c1a18bd9f..1e44a60bb99 100644
--- a/libjava/java/io/FileDescriptor.java
+++ b/libjava/java/io/FileDescriptor.java
@@ -120,7 +120,7 @@ public final class FileDescriptor
if (ex instanceof SyncFailedException)
throw (SyncFailedException) ex;
else
- throw new SyncFailedException(ex.getMessage());
+ throw new SyncFailedException(ex.toString());
}
}
}