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