/* * @(#)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 documentation on * Java IDL exceptions */ public final class Bounds extends org.omg.CORBA.UserException { /** * Constructs an Bounds with no specified detail message. */ public Bounds() { super(); } /** * Constructs an Bounds with the specified detail message. * * @param reason the detail message. */ public Bounds(String reason) { super(reason); } }