Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
stavros
on June 14, 2013
|
parent
|
context
|
favorite
| on:
Javapocalypse
Oh, right, you convert it to RuntimeException (ostensibly in multiple places where you don't want to handle the exception) and catch that one as a general exception. It makes sense now and sounds like a good solution, thank you.
tomjen3
on June 14, 2013
[–]
It is a horrible solution, but it does work.
IMHO, go was right to get rid of exceptions (stack traces are useful) and just return two values.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: