1. /*
  2. * @(#)InvalidValue.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. * @author unattributed
  10. * @version 1.12 01/23/03
  11. *
  12. * Dynamic Any insert operations raise the <code>InvalidValue</code>
  13. * exception if the value inserted is not consistent with the type
  14. * of the accessed component in the <code>DynAny</code> object.
  15. */
  16. public final class InvalidValue
  17. extends org.omg.CORBA.UserException {
  18. /**
  19. * Constructs an <code>InvalidValue</code> object.
  20. */
  21. public InvalidValue() {
  22. super();
  23. }
  24. /**
  25. * Constructs an <code>InvalidValue</code> object.
  26. * @param reason a <code>String</code> giving more information
  27. * regarding the exception.
  28. */
  29. public InvalidValue(String reason) {
  30. super(reason);
  31. }
  32. }