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