KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)InvalidName.java 1.18 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.ORBPackage;
9
10 /**
11  * The <code>InvalidName</code> exception is raised when
12  * <code>ORB.resolve_initial_references</code> is passed a name
13  * for which there is no initial reference.
14  *
15  * @see org.omg.CORBA.ORB#resolve_initial_references(String)
16  * @version 1.6, 03/18/98
17  * @since JDK1.2
18  */

19
20 final public class InvalidName extends org.omg.CORBA.UserException JavaDoc {
21     /**
22      * Constructs an <code>InvalidName</code> exception with no reason message.
23      */

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

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