Exception hierarchy in java

Exception Hierarchy:

Throwable is the super class. 

Hierarchy Exception

Hierarchy Error

Throwable

  • Error
    • AssertionError
    • LinkageError
      • BootstrapMethodError
      • ClassCircularityError
      • ClassFormatError
        • UnsupportedClassVersionError
      • ExceptionInInitializerError
      • IncompatibleClassChangeError
        • AbstractMethodError
        • IllegalAccessError
        • InstantiationError
        • NoSuchFieldError
        • NoSuchMethodError
      • NoClassDefFoundError
      • UnsatisfiedLinkError
      • VerifyError
    • ThreadDeath
    • VirtualMachineError
      • InternalError
      • OutOfMemoryError
      • StackOverflowError
      • UnknownError
  • Exception
    • CloneNotSupportedException
    • InterruptedException
    • IOException
      • FileNotFoundException
      • SocketException
        • ConnectException
      • UnknownHostException
    • ReflectiveOperationException
      • ClassNotFoundException
      • IllegalAccessException
      • InstantiationException
      • InvocationTargetException
      • NoSuchFieldException
      • NoSuchMethodException
    • RuntimeException
      • ArithmeticException
      • ArrayStoreException
      • ClassCastException
      • ConcurrentModificationException
      • EnumConstantNotPresentException
      • IllegalArgumentException
        • IllegalThreadStateException
        • NumberFormatException
      • IllegalMonitorStateException
      • IllegalStateException
      • IndexOutOfBoundsException
        • ArrayIndexOutOfBoundsException
        • StringIndexOutOfBoundsException
      • NegativeArraySizeException
      • NullPointerException
      • SecurityException
      • TypeNotPresentException
      • UnsupportedOperationException

Java interview questions on Exception Handling