Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.lang

Class NoClassDefFoundError

java.lang.Object
|
+--java.lang.Throwable
   |
   +--java.lang.Error
      |
      +--java.lang.LinkageError
         |
         +--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.

Authors:

Constructor Summary

NoClassDefFoundError()

Create an error without a message.
NoClassDefFoundError(java.lang.String s)

Create an error with a message.

Constructor Details

NoClassDefFoundError

public NoClassDefFoundError()

Create an error without a message.


NoClassDefFoundError

public NoClassDefFoundError(java.lang.String s)

Create an error with a message.

Parameters: