Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> FWIW you can override the stack trace collecting behaviour of Java exceptions.

Could I ask you to point to an example?



    class MyException extends Exception {
        @Override
        public Throwable fillInStackTrace() {
            return this;
        }
    }




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: