KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > omg > CORBA > ORBPackage > InconsistentTypeCode


1 /*
2  * @(#)InconsistentTypeCode.java 1.17 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8
9 package org.omg.CORBA.ORBPackage;
10
11 /**
12  * InconsistentTypeCode is thrown when an attempt is made to create a
13  * dynamic any with a type code that does not match the particular
14  * subclass of <code>DynAny</code>.
15  */

16 public final class InconsistentTypeCode
17     extends org.omg.CORBA.UserException JavaDoc {
18     /**
19      * Constructs an <code>InconsistentTypeCode</code> user exception
20      * with no reason message.
21     */

22     public InconsistentTypeCode() {
23     super();
24     }
25
26     /**
27     * Constructs an <code>InconsistentTypeCode</code> user exception
28     * with the specified reason message.
29     * @param reason The String containing a reason message
30     */

31     public InconsistentTypeCode(String JavaDoc reason) {
32     super(reason);
33     }
34 }
35
Popular Tags