FileDocCategorySizeDatePackage
Bounds.javaAPI DocJava SE 5 API848Fri Aug 26 14:58:26 BST 2005org.omg.CORBA

Bounds.java

/*
 * @(#)Bounds.java	1.20 03/12/19
 *
 * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */

package org.omg.CORBA;

/**
 * A user exception thrown when a parameter is not within
 * the legal bounds for the object that a method is trying
 * to access.
 *
 * @see <A href="../../../../guide/idl/jidlExceptions.html">documentation on
 * Java IDL exceptions</A>
 */

public final class Bounds extends org.omg.CORBA.UserException {

    /**
     * Constructs an <code>Bounds</code> with no specified detail message. 
     */
    public Bounds() {
	super();
    }

    /**
     * Constructs an <code>Bounds</code> with the specified detail message. 
     *
     * @param   reason   the detail message.
     */
    public Bounds(String reason) {
	super(reason);
    }
}