1. /*
  2. * @(#)NoClassDefFoundError.java 1.21 03/01/23
  3. *
  4. * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.lang;
  8. /**
  9. * Thrown if the Java Virtual Machine or a <code>ClassLoader</code> instance
  10. * tries to load in the definition of a class (as part of a normal method call
  11. * or as part of creating a new instance using the <code>new</code> expression)
  12. * and no definition of the class could be found.
  13. * <p>
  14. * The searched-for class definition existed when the currently
  15. * executing class was compiled, but the definition can no longer be
  16. * found.
  17. *
  18. * @author unascribed
  19. * @version 1.21, 01/23/03
  20. * @since JDK1.0
  21. */
  22. public
  23. class NoClassDefFoundError extends LinkageError {
  24. /**
  25. * Constructs a <code>NoClassDefFoundError</code> with no detail message.
  26. */
  27. public NoClassDefFoundError() {
  28. super();
  29. }
  30. /**
  31. * Constructs a <code>NoClassDefFoundError</code> with the specified
  32. * detail message.
  33. *
  34. * @param s the detail message.
  35. */
  36. public NoClassDefFoundError(String s) {
  37. super(s);
  38. }
  39. }