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