When to make a custom checked Exception or custom unchecked Exception?
If an application can reasonably be expected to recover from an exception, make it a checked exception. If an application cannot do anything to recover from the exception, make it an unchecked exception.
No comments:
Post a Comment