1. /*
  2. * @(#)Invalid.java 1.12 03/01/23
  3. *
  4. * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package org.omg.CORBA.DynAnyPackage;
  8. /**
  9. * Invalid is thrown by dynamic any operations when a bad
  10. * <code>DynAny</code> or <code>Any</code> is passed as a parameter.
  11. */
  12. public final class Invalid
  13. extends org.omg.CORBA.UserException {
  14. /**
  15. * Constructs an <code>Invalid</code> object.
  16. */
  17. public Invalid() {
  18. super();
  19. }
  20. /**
  21. * Constructs an <code>Invalid</code> object.
  22. * @param reason a <code>String</code> giving more information
  23. * regarding the bad parameter passed to a dynamic any operation.
  24. */
  25. public Invalid(String reason) {
  26. super(reason);
  27. }
  28. }