01: /*
02: * RuntimeExceptionCmd.java --
03: *
04: * Raise a RuntimeException in a Java command proc.
05: *
06: * Copyright (c) 2002 by Mo DeJong
07: *
08: * See the file "license.terms" for information on usage and redistribution
09: * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
10: *
11: * RCS: @(#) $Id: RuntimeExceptionCmd.java,v 1.1 2002/12/30 22:49:24 mdejong Exp $
12: */
13:
14: package tests;
15:
16: import tcl.lang.*;
17:
18: public class RuntimeExceptionCmd implements Command {
19: public void cmdProc(Interp interp, TclObject[] objv)
20: throws TclException {
21: throw new NullPointerException("RuntimeExceptionCmd");
22: }
23: }
|