- Class ClassNotFoundException
- Constructor Summary
- Method Summary
- Methods declared in class java.lang.Throwable
- Methods declared in class java.lang.Object
- Constructor Details
- ClassNotFoundException
- ClassNotFoundException
- ClassNotFoundException
- Method Details
- getException
- Class ClassNotFoundException
- Constructor Summary
- Method Summary
- Methods declared in class java.lang.Throwable
- Methods declared in class java.lang.Object
- Constructor Details
- ClassNotFoundException
- ClassNotFoundException
- ClassNotFoundException
- Method Details
- getException
- Java lang classnotfoundexception library
- Method Summary
- Methods inherited from class java.lang.Throwable
- Methods inherited from class java.lang.Object
- Constructor Detail
- ClassNotFoundException
- ClassNotFoundException
- ClassNotFoundException
- Method Detail
- getException
- getCause
- Java lang classnotfoundexception library
- Constructor Summary
- Method Summary
- Methods declared in class java.lang.Throwable
- Methods declared in class java.lang.Object
- Constructor Detail
- ClassNotFoundException
- ClassNotFoundException
- ClassNotFoundException
- Method Detail
- getException
- getCause
Class ClassNotFoundException
but no definition for the class with the specified name could be found.
Constructor Summary
Constructs a ClassNotFoundException with the specified detail message and optional exception that was raised while loading the class.
Method Summary
Methods declared in class java.lang.Throwable
Methods declared in class java.lang.Object
Constructor Details
ClassNotFoundException
ClassNotFoundException
ClassNotFoundException
Constructs a ClassNotFoundException with the specified detail message and optional exception that was raised while loading the class.
Method Details
getException
Returns the exception that was raised if an error occurred while attempting to load the class. Otherwise, returns null .
Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Other versions.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2023, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.
Class ClassNotFoundException
but no definition for the class with the specified name could be found.
Constructor Summary
Constructs a ClassNotFoundException with the specified detail message and optional exception that was raised while loading the class.
Method Summary
Methods declared in class java.lang.Throwable
Methods declared in class java.lang.Object
Constructor Details
ClassNotFoundException
ClassNotFoundException
ClassNotFoundException
Constructs a ClassNotFoundException with the specified detail message and optional exception that was raised while loading the class.
Method Details
getException
Returns the exception that was raised if an error occurred while attempting to load the class. Otherwise, returns null .
Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Other versions.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2023, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.
Java lang classnotfoundexception library
Constructs a ClassNotFoundException with the specified detail message and optional exception that was raised while loading the class.
Method Summary
Returns the cause of this exception (the exception that was raised if an error occurred while attempting to load the class; otherwise null).
Methods inherited from class java.lang.Throwable
Methods inherited from class java.lang.Object
Constructor Detail
ClassNotFoundException
public ClassNotFoundException()
ClassNotFoundException
ClassNotFoundException
Constructs a ClassNotFoundException with the specified detail message and optional exception that was raised while loading the class.
Method Detail
getException
Returns the exception that was raised if an error occurred while attempting to load the class. Otherwise, returns null. This method predates the general-purpose exception chaining facility. The Throwable.getCause() method is now the preferred means of obtaining this information.
getCause
Returns the cause of this exception (the exception that was raised if an error occurred while attempting to load the class; otherwise null).
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2023, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
Java lang classnotfoundexception library
but no definition for the class with the specified name could be found.
As of release 1.4, this exception has been retrofitted to conform to the general purpose exception-chaining mechanism. The «optional exception that was raised while loading the class» that may be provided at construction time and accessed via the getException() method is now known as the cause, and may be accessed via the Throwable.getCause() method, as well as the aforementioned «legacy method.»
Constructor Summary
Constructs a ClassNotFoundException with the specified detail message and optional exception that was raised while loading the class.
Method Summary
Returns the cause of this exception (the exception that was raised if an error occurred while attempting to load the class; otherwise null ).
Methods declared in class java.lang.Throwable
Methods declared in class java.lang.Object
Constructor Detail
ClassNotFoundException
public ClassNotFoundException()
ClassNotFoundException
ClassNotFoundException
Constructs a ClassNotFoundException with the specified detail message and optional exception that was raised while loading the class.
Method Detail
getException
Returns the exception that was raised if an error occurred while attempting to load the class. Otherwise, returns null . This method predates the general-purpose exception chaining facility. The Throwable.getCause() method is now the preferred means of obtaining this information.
getCause
Returns the cause of this exception (the exception that was raised if an error occurred while attempting to load the class; otherwise null ).
Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2023, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.