tcl.lang
Class TclVarException
java.lang.Object
java.lang.Throwable
java.lang.Exception
tcl.lang.TclException
tcl.lang.TclVarException
- All Implemented Interfaces:
- Serializable
public class TclVarException
- extends TclException
This exception is used to report variable errors in Tcl.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
TclVarException
public TclVarException(Interp interp,
String name1,
String name2,
String operation,
String reason)
- Creates an exception with the appropiate Tcl error message to indicate an
error with variable access.
- Parameters:
interp
- currrent interpreter.name1
- first part of a variable name.name2
- second part of a variable name. May be null.operation
- either "read" or "set".reason
- a string message to explain why the operation fails..
Copyright © 2015. All rights reserved.