1. /*
  2. * @(#)AbstractMethodError.java 1.15 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 when an application tries to call an abstract method.
  13. * Normally, this error is caught by the compiler; this error can
  14. * only occur at run time if the definition of some class has
  15. * incompatibly changed since the currently executing method was last
  16. * compiled.
  17. *
  18. * @author unascribed
  19. * @version 1.15, 02/02/00
  20. * @since JDK1.0
  21. */
  22. public
  23. class AbstractMethodError extends IncompatibleClassChangeError {
  24. /**
  25. * Constructs an <code>AbstractMethodError</code> with no detail message.
  26. */
  27. public AbstractMethodError() {
  28. super();
  29. }
  30. /**
  31. * Constructs an <code>AbstractMethodError</code> with the specified
  32. * detail message.
  33. *
  34. * @param s the detail message.
  35. */
  36. public AbstractMethodError(String s) {
  37. super(s);
  38. }
  39. }