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

Right, but if constructing OutputStream throws ExceptionA, you shouldn't have it in scope; it's not something you can use.


Agreed. I'll make that more clear next time. I omitted catch's parens, which makes it less clear.

I just want 'out' visible to both catch and finally.




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

Search: