1. /*
  2. * @(#)TypeMismatch.java 1.5 01/11/29
  3. *
  4. * Copyright 2002 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. * TypeMismatch is thrown by dynamic any accessor methods when
  10. * type of the actual contents do not match what is trying to be
  11. * accessed.
  12. */
  13. public final class TypeMismatch
  14. extends org.omg.CORBA.UserException {
  15. // constructor
  16. public TypeMismatch() {
  17. super();
  18. }
  19. public TypeMismatch(String reason) {
  20. super(reason);
  21. }
  22. }