As Error and Exception are subclass of throwable class, we can throw any error, runtime ex and other ex. Also we can catch any of these type.
Why do we usually catch only checked Exception?
Can somebody provide me good links for exception with examples?
The whole point of a checked exception is that you are required to catch it. It is the type of error that can potentially come up in normal program execution (such as an I/O error), and the application is expected to handle it gracefully.
Conversely, unchecked exceptions are those that should not occur during normal operation of the program (they break the rules in some way), and as such you do not try to handle it since there isn’t likely much you can do.