Artifact Content
Not logged in

Artifact 1648f35c8c09fbe3a0327b6e79d3c670ce760583:


/*
 * Test7Extension.java
 *
 *    Test instantiatoion failures.
 *
 * Copyright (c) 1997 Sun Microsystems, Inc.
 *
 * See the file "license.terms" for information on usage and
 * redistribution of this file, and for a DISCLAIMER OF ALL
 * WARRANTIES.
 * 
 * RCS: @(#) $Id: Test7Extension.java,v 1.1 1999/05/10 04:08:56 dejong Exp $
 *
 */

import tcl.lang.*; 

public class
Test7Extension extends Extension {
    
    public Test7Extension() throws InstantiationException {
	throw new InstantiationException();
    }
    
    public void init(Interp interp) {
	interp.createCommand("test2", new Test2Cmd());
    }
}