How to differentiate between Programmer and JVM Exceptions
Posted
by Haxed
on Stack Overflow
See other posts from Stack Overflow
or by Haxed
Published on 2010-05-29T04:47:03Z
Indexed on
2010/05/29
5:12 UTC
Read the original article
Hit count: 290
java
|exceptions
As the title suggests, how can I tell a JVM thrown exception from a Programmatically(does this mean, thrown by a programmer or the program) thrown exception ?
JVM Exceptions
1) ArrayIndexOutOfBoundsException
2) ClassCastException
3) NullPointerException
Programmatically thrown
1) NumberFormatException
2) AssertionError
Many Thanks
© Stack Overflow or respective owner