KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > swing > text > StateInvariantError


1 /*
2  * @(#)StateInvariantError.java 1.17 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 javax.swing.text;
8
9 /**
10  * This exception is to report the failure of state invarient
11  * assertion that was made. This indicates an internal error
12  * has occurred.
13  *
14  * @author Timothy Prinzing
15  * @version 1.17 12/19/03
16  */

17 class StateInvariantError extends Error JavaDoc
18 {
19     /**
20      * Creates a new StateInvariantFailure object.
21      *
22      * @param s a string indicating the assertion that failed
23      */

24     public StateInvariantError(String JavaDoc s) {
25     super(s);
26     }
27
28 }
29
Popular Tags