Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
xen0
on July 15, 2023
|
parent
|
context
|
favorite
| on:
Why checked exceptions failed
Right, but if constructing OutputStream throws ExceptionA, you shouldn't have it in scope; it's not something you can use.
specialist
on July 16, 2023
[–]
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: