The exception is part of the method signature and thus part of the return value. I don't see a difference between using if or try-catch to validate a method call.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
replies: