In this section we will discuss about the java.lang.ClassNotFoundException class hierarchy diagram.
This class extends the java.lang.Exception class. ClassNotFoundException is generated when it is tried to load a class using forName(), findSystemClass(), loadClass() method and the class definition is not found with the specified string. ClassNotFoundException class hierarchy diagram is given below :

Constructor Detail
| ClassNotFoundException() | This is a default constructor creates ClassNotFoundException object. Syntax : public ClassNotFoundException() |
| ClassNotFoundException(String s) | This constructor creates a ClassNotFoundException object with the given
message detail. Syntax : public ClassNotFoundException(String msg) |
| ClassNotFoundException(String s, Throwable ex) | This constructor creates a ClassNotFoundException object with the given
message detail and the exception generated during loading of class. Syntax : public ClassNotFoundException(String s, Throwable ex) |
Method Detail
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
Ask Questions? Discuss: Java ClassNotFoundException Class Hierarchy Diagram
Post your Comment