Hi,
I am really confused in order to determine whether particular exception is thrown by JVM or programatic exception.
How can we say that below specified exceptions are thrown by JVM? StackOverFlowError
NullPointerException
ClassCastException
NoClassDefFoundError
ArrayIndexOutOfBoundsException
How can we say that below specified exceptions are thrown Programatically? IllegalArgumentException
NumberFormatException
AssertionError
IlegalStateException
Can any one help me to know entire Exception classes hierarchy ? Why start() in java.lang.Thread is not final? Because if we override the start() of java.lang.Thread class in custom
thread class, then if we call start() on that custom thread object then that custom thread object will not behave as a thread because start() in java.lang.Thread is being overriden in custom thread class.
I will be very thankful if some one clears my doubts with reasoning.
Thanks in advance.
Have a wonderful day ahead!
Regards,
Gopal