1. /*
  2. * @(#)StateInvariantError.java 1.14 00/02/02
  3. *
  4. * Copyright 1997-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 javax.swing.text;
  11. /**
  12. * This exception is to report the failure of state invarient
  13. * assertion that was made. This indicates an internal error
  14. * has occurred.
  15. *
  16. * @author Timothy Prinzing
  17. * @version 1.14 02/02/00
  18. */
  19. class StateInvariantError extends Error
  20. {
  21. /**
  22. * Creates a new StateInvariantFailure object.
  23. *
  24. * @param s a string indicating the assertion that failed
  25. */
  26. public StateInvariantError(String s) {
  27. super(s);
  28. }
  29. }