1. /*
  2. * @(#)NoSuchMethodException.java 1.13 03/12/19
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.lang;
  8. /**
  9. * Thrown when a particular method cannot be found.
  10. *
  11. * @author unascribed
  12. * @version 1.13, 12/19/03
  13. * @since JDK1.0
  14. */
  15. public
  16. class NoSuchMethodException extends Exception {
  17. /**
  18. * Constructs a <code>NoSuchMethodException</code> without a detail message.
  19. */
  20. public NoSuchMethodException() {
  21. super();
  22. }
  23. /**
  24. * Constructs a <code>NoSuchMethodException</code> with a detail message.
  25. *
  26. * @param s the detail message.
  27. */
  28. public NoSuchMethodException(String s) {
  29. super(s);
  30. }
  31. }