bad.minor = Minor.ClassCast;
  public static ServantLocator narrow(org.omg.CORBA.Object obj)  {    try      {        return (ServantLocator) obj;      }    catch (ClassCastException ex)      {        BAD_OPERATION bad = new BAD_OPERATION();        bad.initCause(ex);        throw bad;      }  }