tcl.lang
Class TclRuntimeError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by tcl.lang.TclRuntimeError
All Implemented Interfaces:
Serializable

public class TclRuntimeError
extends RuntimeException

Signals that a unrecoverable run-time error in the interpreter. Similar to the panic() function in C.

See Also:
Serialized Form

Constructor Summary
TclRuntimeError(String s)
          Constructs a TclRuntimeError with the specified detail message.
TclRuntimeError(String msg, Throwable cause)
          Constructs a TclRuntimeError with the specified detail message and cause.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TclRuntimeError

public TclRuntimeError(String s)
Constructs a TclRuntimeError with the specified detail message.

Parameters:
s - the detail message.

TclRuntimeError

public TclRuntimeError(String msg,
                       Throwable cause)
Constructs a TclRuntimeError with the specified detail message and cause.

Parameters:
msg - the detail message.
cause - the cause.


Copyright © 2015. All rights reserved.