EjbDeployment deployment = getDeployment();
return new StandardServant(getOrb(), InterfaceType.EJB_OBJECT, deployment, pk);
} catch (IOException e) {
// if we can't deserialize, then this object can't exist in this process
throw (OBJECT_NOT_EXIST)new OBJECT_NOT_EXIST(0, org.omg.CORBA.CompletionStatus.COMPLETED_NO).initCause(e);
} catch (Exception e) {
log.error("Exception during dispatch to method " + operation + " in bean " + pk, e);
return null;
}
}