< prev index next >

src/java.base/unix/classes/sun/nio/fs/UnixException.java

Print this page

        

*** 68,77 **** --- 68,84 ---- @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; + } + /** * Map well known errors to specific exceptions where possible; otherwise * return more general FileSystemException. */ private IOException translateToIOException(String file, String other) {
< prev index next >