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:
committed by
Michael Koch
parent
171a3e0c44
commit
5fd7c1e7fa
@@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user