Revert change by Volker. We don't want to set the cause, because that is a breaking change.

This commit is contained in:
jfrijters 2010-12-27 05:51:42 +00:00
Родитель 8ad03c95b0
Коммит cc17784bbd
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -330,11 +330,11 @@ public final class FileDescriptor {
}
catch (cli.System.ArgumentException x4)
{
throw (FileNotFoundException)new FileNotFoundException(x4.getMessage()).initCause(x4);
throw new FileNotFoundException(x4.getMessage());
}
catch (cli.System.NotSupportedException x5)
{
throw (FileNotFoundException)new FileNotFoundException(x5.getMessage()).initCause(x5);
throw new FileNotFoundException(x5.getMessage());
}
}