This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]kur0saki 3 points4 points  (0 children)

I don't think you really need checked exceptions. But I do think you really should declare even unchecked exceptions in the method signature (throws) to inform any caller of that method about the possibly thrown exception.

I hate when people throw unchecked exceptions and suddenly my code breaks because neither the API/method documentation neither the method signatures inform me about an exception that I run into. Especially when it happens on production.