Hacker News new | ask | show | jobs
by sixcorners 5134 days ago
Attributes? Why not just

throw new RuntimeException(exception);

Edit: If there weren't exceptions for every mundane thing I think I would prefer no checked exceptions also.

1 comments

Because you've in essence bypassed the entire checked-exception system anyway?
How? You acknowledged that the exception exists. You didn't do that by putting 'throws' on everything.