FileDescriptor.java (sync): Add real exception to SyncFailedException.
2005-02-21 Mark Wielaard <mark@klomp.org> * java/io/FileDescriptor.java (sync): Add real exception to SyncFailedException. From-SVN: r95324
This commit is contained in:
parent
171a3e0c44
commit
5fd7c1e7fa
@ -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:
|
||||
|
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user