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

Stack trace collection is optional. If you actually hit a performance problem on a checked exception path you just override the stack trace collection not to happen. I do this in most of my projects that use checked exceptions as domain errors. Only once you have to panic, i.e wrap in an unchecked exception, stack trace collection happens.




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

Search: