IllegalArgumentException

IllegalArgumentException is a child class of RunTimeException, Hence it is an unchecked exception. IllegalArgumentException is raised explicitly either by the …

Read more

ExceptionInInitializerError

ExceptionInInitializerError is a child class of Error in Java, Hence it is an unchecked exception. ExceptionInInitializerError is automatically raised by …

Read more

NoClassDefFoundError

NoClassDefFoundError is a child class of Error in Java, Hence it is an unchecked Exception. NoClassDefFoundError is automatically raised by …

Read more

StackOverflowError

StackOverflowError is the child class of Error in Java, Hence it is an unchecked Exception. StackOverflowError is automatically raised by …

Read more

ClassCastException

ClassCastException is the child class of RunTimeException, hence it is an unchecked exception, This exception is automatically Raised by JVM …

Read more

NullPointerException

NullPointerException is a child class of RunTimeException, Hence it is an unchecked exception, Raised automatically by JVM, Whenever we are …

Read more

ArrayIndexOutOfBoundsException

ArrayIndexOutOfBoundsException is a child class of RunTimeException in Java, Hence it is an unchecked exception and is raised automatically by …

Read more

Exceptions in Java

In Java, how an exception is raised we can divide exceptions into two categories- JVM Exceptions Exceptions raised by JVM …

Read more

User Defined Exception in Java

Sometimes for our programming requirements, we need to create our exceptions, such types of exceptions are known as user-defined exceptions …

Read more