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