How do you know whether an exception is thrown by the application (programmatically?) or thrown by the JVM?
I understand as their name reveals definition. But my question is-- On which ground you will categorize any exception into these two. Any reasoning or concept?
For example: NullPointerException is JVM thrown whereas NumberFormatException is Programmatically thrown exception. Why?
No comments:
Post a Comment