Is it possible to get the error code returned by the operating system to the JVM when a FileNotFoundException is thrown?
How to get a meaningful message for failed calls to Java File objects (mkdir, rename, delete)