tcl.lang
Class TclVarException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by tcl.lang.TclException
              extended by 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

Field Summary
 
Fields inherited from class tcl.lang.TclException
errIndex
 
Constructor Summary
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.
 
Method Summary
 
Methods inherited from class tcl.lang.TclException
getCompletionCode, setCompletionCode
 
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

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.