1. /*
  2. * @(#)Bounds.java 1.13 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. package org.omg.CORBA.TypeCodePackage;
  8. /**
  9. * Provides the <code>TypeCode</code> operations <code>member_name()</code>,
  10. * <code>member_type()</code>, and <code>member_label</code>.
  11. * These methods
  12. * raise <code>Bounds</code> when the index parameter is greater than or equal
  13. * to the number of members constituting the type.
  14. *
  15. * @version 1.7, 03/18/98
  16. * @since JDK1.2
  17. */
  18. public final class Bounds extends org.omg.CORBA.UserException {
  19. /**
  20. * Constructs a <code>Bounds</code> exception with no reason message.
  21. */
  22. public Bounds() {
  23. super();
  24. }
  25. /**
  26. * Constructs a <code>Bounds</code> exception with the specified
  27. * reason message.
  28. * @param reason the String containing a reason message
  29. */
  30. public Bounds(String reason) {
  31. super(reason);
  32. }
  33. }