tcl.pkg.java
Class JavaTryCmd
java.lang.Object
tcl.pkg.java.JavaTryCmd
- All Implemented Interfaces:
- Command
public class JavaTryCmd
- extends Object
- implements Command
This class implements the built-in "java::try" command. The command provides
access to the java's try-catch-finally construct.
Method Summary |
void |
cmdProc(Interp interp,
TclObject[] argv)
----------------------------------------------------------------------
cmdProc --
This procedure is invoked as part of the Command interface to process the
"java::try" Tcl command. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaTryCmd
public JavaTryCmd()
cmdProc
public void cmdProc(Interp interp,
TclObject[] argv)
throws TclException
- ----------------------------------------------------------------------
cmdProc --
This procedure is invoked as part of the Command interface to process the
"java::try" Tcl command. See the user documentation for details on what
it does.
Results: None.
Side effects: See the user documentation.
----------------------------------------------------------------------
- Specified by:
cmdProc
in interface Command
- Parameters:
interp
- The interpreter for setting the results and which contains the
contextargv
- the argument list for the command; objv[0[ is the command name
itself
- Throws:
TclException
- on any errors
Copyright © 2015. All rights reserved.