KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)Invalid.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
9 package org.omg.CORBA.DynAnyPackage;
10
11 /**
12  * Invalid is thrown by dynamic any operations when a bad
13  * <code>DynAny</code> or <code>Any</code> is passed as a parameter.
14  */

15 public final class Invalid
16     extends org.omg.CORBA.UserException JavaDoc {
17
18     /**
19      * Constructs an <code>Invalid</code> object.
20      */

21     public Invalid() {
22     super();
23     }
24
25     /**
26      * Constructs an <code>Invalid</code> object.
27      * @param reason a <code>String</code> giving more information
28      * regarding the bad parameter passed to a dynamic any operation.
29      */

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