1. /*
  2. * @(#)Bounds.java 1.9 01/11/29
  3. *
  4. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. /**
  8. * A user exception thrown when a parameter is not within
  9. * the legal bounds for the object that a method is trying
  10. * to access.
  11. *
  12. * @see <A href="../guide/idl/jidlExceptions.html">documentation on
  13. * Java IDL exceptions</A>
  14. */
  15. package org.omg.CORBA;
  16. public final class Bounds extends org.omg.CORBA.UserException {
  17. /**
  18. * Constructs an <code>Bounds</code> with no specified detail message.
  19. */
  20. public Bounds() {
  21. super();
  22. }
  23. /**
  24. * Constructs an <code>Bounds</code> with the specified detail message.
  25. *
  26. * @param reason the detail message.
  27. */
  28. public Bounds(String reason) {
  29. super(reason);
  30. }
  31. }