KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > compliance > server > support > ConstructorTest3


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7
8 package test.compliance.server.support;
9
10 /**
11  * Support class which throws an error from its constructor.
12  *
13  * @author <a HREF="mailto:juha@jboss.org">Juha Lindfors</a>.
14  * @version $Revision: 1.1 $
15  *
16  */

17 public class ConstructorTest3
18 {
19    // Constructors --------------------------------------------------
20
public ConstructorTest3()
21    {
22       throw new BabarError();
23    }
24    
25 }
26       
27
28
29
30
Popular Tags