1. /*
  2. * @(#)LinkageError.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. * Subclasses of <code>LinkageError</code> indicate that a class has
  10. * some dependency on another class; however, the latter class has
  11. * incompatibly changed after the compilation of the former class.
  12. *
  13. *
  14. * @author Frank Yellin
  15. * @version 1.13, 12/19/03
  16. * @since JDK1.0
  17. */
  18. public
  19. class LinkageError extends Error {
  20. /**
  21. * Constructs a <code>LinkageError</code> with no detail message.
  22. */
  23. public LinkageError() {
  24. super();
  25. }
  26. /**
  27. * Constructs a <code>LinkageError</code> with the specified detail
  28. * message.
  29. *
  30. * @param s the detail message.
  31. */
  32. public LinkageError(String s) {
  33. super(s);
  34. }
  35. }