01: /*
02: * TclRuntimeError.java
03: *
04: * Copyright (c) 1997 Sun Microsystems, Inc.
05: *
06: * See the file "license.terms" for information on usage and
07: * redistribution of this file, and for a DISCLAIMER OF ALL
08: * WARRANTIES.
09: *
10: * RCS: @(#) $Id: TclRuntimeError.java,v 1.1.1.1 1998/10/14 21:09:14 cvsadmin Exp $
11: *
12: */
13:
14: package tcl.lang;
15:
16: /**
17: * Signals that a unrecoverable run-time error in the interpreter.
18: * Similar to the panic() function in C.
19: */
20: public class TclRuntimeError extends RuntimeException {
21: /**
22: * Constructs a TclRuntimeError with the specified detail
23: * message.
24: *
25: * @param s the detail message.
26: */
27: public TclRuntimeError(String s) {
28: super(s);
29: }
30: }
|