]> gcc.gnu.org Git - gcc.git/commitdiff
FileDescriptor.java (sync): Add real exception to SyncFailedException.
authorMark Wielaard <mark@klomp.org>
Mon, 21 Feb 2005 08:31:01 +0000 (08:31 +0000)
committerMichael Koch <mkoch@gcc.gnu.org>
Mon, 21 Feb 2005 08:31:01 +0000 (08:31 +0000)
2005-02-21  Mark Wielaard  <mark@klomp.org>

* java/io/FileDescriptor.java (sync): Add real exception to
SyncFailedException.

From-SVN: r95324

libjava/ChangeLog
libjava/java/io/FileDescriptor.java

index d84bfaf97df39380795b094e0260e07fd20e52fc..e44fc6d419782ec1548f087d3ff7d63e9dd682a3 100644 (file)
@@ -1,3 +1,8 @@
+2005-02-21  Mark Wielaard  <mark@klomp.org>
+
+       * java/io/FileDescriptor.java (sync): Add real exception to
+       SyncFailedException.
+
 2005-02-21  Michael Koch  <konqueror@gmx.de>
 
        * java/io/InputStreamReader.java:
index e3c1a18bd9ff005a4ec8177a6aed9ac6036a965f..1e44a60bb997132b38fff17deeb2639969ef95f1 100644 (file)
@@ -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());
          }
       }
   }
This page took 0.090269 seconds and 5 git commands to generate.