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
2 changed files with 6 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue