KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)Bounds.java 1.20 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;
9
10 /**
11  * A user exception thrown when a parameter is not within
12  * the legal bounds for the object that a method is trying
13  * to access.
14  *
15  * @see <A HREF="../../../../guide/idl/jidlExceptions.html">documentation on
16  * Java&nbsp;IDL exceptions</A>
17  */

18
19 public final class Bounds extends org.omg.CORBA.UserException JavaDoc {
20
21     /**
22      * Constructs an <code>Bounds</code> with no specified detail message.
23      */

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

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