Package java.lang
Class NoClassDefFoundError
java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.LinkageError
java.lang.NoClassDefFoundError
- All Implemented Interfaces:
Serializable
public class NoClassDefFoundError extends LinkageError
Thrown when the VM is unable to locate a class which it has been
asked to load.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description NoClassDefFoundError()Constructs a newNoClassDefFoundErrorthat includes the current stack trace.NoClassDefFoundError(String detailMessage)Constructs a newNoClassDefFoundErrorwith the current stack trace and the specified detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NoClassDefFoundError
public NoClassDefFoundError()Constructs a newNoClassDefFoundErrorthat includes the current stack trace. -
NoClassDefFoundError
Constructs a newNoClassDefFoundErrorwith the current stack trace and the specified detail message.- Parameters:
detailMessage- the detail message for this error.
-