java.lang
Class NoClassDefFoundError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by java.lang.LinkageError
              extended by java.lang.NoClassDefFoundError

public class NoClassDefFoundError
extends LinkageError

A NoClassDefFoundError is thrown when a classloader or the Java Virtual Machine tries to load a class and no definition of the class can be found. This could happen when using the new expression or during a normal method call. The reason this would occur at runtime is because the missing class definition existed when the currently executing class was compiled, but now that definition cannot be found.


Constructor Summary
NoClassDefFoundError()
          Create an error without a message.
NoClassDefFoundError(String s)
          Create an error with a message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
getCause, getLocalizedMessage, getMessage, initCause, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoClassDefFoundError

public NoClassDefFoundError()
Create an error without a message.


NoClassDefFoundError

public NoClassDefFoundError(String s)
Create an error with a message.

Parameters:
s - the message