Description
The current handling
IOException ioe = new IOException(e.getMessage()); ioe.setStackTrace(e.getStackTrace()); throw ioe;
passes the exception message and the stacktrace of the exception, but not the stacktraces of the exceptions wich caused the exception.