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