1. /*
  2. * @(#)Invalid.java 1.9 00/02/02
  3. *
  4. * Copyright 1998-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.DynAnyPackage;
  11. /**
  12. * Invalid is thrown by dynamic any operations when a bad
  13. * <code>DynAny</code> or <code>Any</code> is passed as a parameter.
  14. */
  15. public final class Invalid
  16. extends org.omg.CORBA.UserException {
  17. /**
  18. * Constructs an <code>Invalid</code> object.
  19. */
  20. public Invalid() {
  21. super();
  22. }
  23. /**
  24. * Constructs an <code>Invalid</code> object.
  25. * @param reason a <code>String</code> giving more information
  26. * regarding the bad parameter passed to a dynamic any operation.
  27. */
  28. public Invalid(String reason) {
  29. super(reason);
  30. }
  31. }