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

I agree, this was just a sample code to show how usually imperative if / else / try / catch code is written. What is also possible is we catch the exception, log it and throw another one.


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

Search: