001 /***** Copyright (c) 1999 Object Management Group. Unlimited rights to
002 duplicate and use this code are hereby granted provided that this
003 copyright notice is included.
004 *****/
005
006 package org.omg.CORBA.TypeCodePackage;
007
008 public final class BadKind extends org.omg.CORBA.UserException {
009
010 public BadKind() {
011 super(BadKindHelper.id());
012 }
013
014 public BadKind(String reason) { // full constructor
015 super(BadKindHelper.id()+" "+reason);
016 }
017 }