KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > omg > CORBA > DynAnyPackage > InvalidValue


1 /*
2  * @(#)InvalidValue.java 1.13 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 package org.omg.CORBA.DynAnyPackage;
9
10 /**
11  * @author unattributed
12  * @version 1.13 12/19/03
13  *
14  * Dynamic Any insert operations raise the <code>InvalidValue</code>
15  * exception if the value inserted is not consistent with the type
16  * of the accessed component in the <code>DynAny</code> object.
17  */

18 public final class InvalidValue
19     extends org.omg.CORBA.UserException JavaDoc {
20
21     /**
22      * Constructs an <code>InvalidValue</code> object.
23      */

24     public InvalidValue() {
25     super();
26     }
27
28     /**
29      * Constructs an <code>InvalidValue</code> object.
30      * @param reason a <code>String</code> giving more information
31      * regarding the exception.
32      */

33     public InvalidValue(String JavaDoc reason) {
34     super(reason);
35     }
36 }
37
Popular Tags