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