KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > omg > CORBA > TypeCodePackage > Bounds


1 /*
2  * @(#)Bounds.java 1.19 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.TypeCodePackage;
9
10 /**
11  * Provides the <code>TypeCode</code> operations <code>member_name()</code>,
12  * <code>member_type()</code>, and <code>member_label</code>.
13  * These methods
14  * raise <code>Bounds</code> when the index parameter is greater than or equal
15  * to the number of members constituting the type.
16  *
17  * @version 1.7, 03/18/98
18  * @since JDK1.2
19  */

20
21 public final class Bounds extends org.omg.CORBA.UserException JavaDoc {
22
23     /**
24      * Constructs a <code>Bounds</code> exception with no reason message.
25      */

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

35     public Bounds(String JavaDoc reason) {
36     super(reason);
37     }
38 }
39
Popular Tags