< prev index next >

src/java.base/windows/classes/sun/nio/fs/WindowsException.java

Print this page

        

*** 67,76 **** --- 67,83 ---- @Override public String getMessage() { return errorString(); } + @Override + public Throwable fillInStackTrace() { + // This is an internal exception, the stack trace is irrelevant. + // translateTo* methods would start the stack trace over. + return this; + } + private IOException translateToIOException(String file, String other) { // not created with last error if (lastError() == 0) return new IOException(errorString());
< prev index next >