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