1. /*
  2. * @(#)NoSuchMethodException.java 1.10 00/02/02
  3. *
  4. * Copyright 1995-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 when a particular method cannot be found.
  13. *
  14. * @author unascribed
  15. * @version 1.10, 02/02/00
  16. * @since JDK1.0
  17. */
  18. public
  19. class NoSuchMethodException extends Exception {
  20. /**
  21. * Constructs a <code>NoSuchMethodException</code> without a detail message.
  22. */
  23. public NoSuchMethodException() {
  24. super();
  25. }
  26. /**
  27. * Constructs a <code>NoSuchMethodException</code> with a detail message.
  28. *
  29. * @param s the detail message.
  30. */
  31. public NoSuchMethodException(String s) {
  32. super(s);
  33. }
  34. }