tcl.lang.cmd
Class CatchCmd

java.lang.Object
  extended by tcl.lang.cmd.CatchCmd
All Implemented Interfaces:
Command

public class CatchCmd
extends Object
implements Command

This class implements the built-in "catch" command in Tcl.


Constructor Summary
CatchCmd()
           
 
Method Summary
 void cmdProc(Interp interp, TclObject[] argv)
          This procedure is invoked to process the "catch" Tcl command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatchCmd

public CatchCmd()
Method Detail

cmdProc

public void cmdProc(Interp interp,
                    TclObject[] argv)
             throws TclException
This procedure is invoked to process the "catch" Tcl command. See the user documentation for details on what it does.

Specified by:
cmdProc in interface Command
Parameters:
interp - the current interpreter.
argv - command arguments.
Throws:
TclException - if wrong number of arguments.


Copyright © 2015. All rights reserved.