1. /*
  2. * @(#)InconsistentTypeCode.java 1.13 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.ORBPackage;
  11. /**
  12. * InconsistentTypeCode is thrown when an attempt is made to create a
  13. * dynamic any with a type code that does not match the particular
  14. * subclass of <code>DynAny</code>.
  15. */
  16. public final class InconsistentTypeCode
  17. extends org.omg.CORBA.UserException {
  18. /**
  19. * Constructs an <code>InconsistentTypeCode</code> user exception
  20. * with no reason message.
  21. */
  22. public InconsistentTypeCode() {
  23. super();
  24. }
  25. /**
  26. * Constructs an <code>InconsistentTypeCode</code> user exception
  27. * with the specified reason message.
  28. * @param reason The String containing a reason message
  29. */
  30. public InconsistentTypeCode(String reason) {
  31. super(reason);
  32. }
  33. }