ManagedObjectReference mordvs = dvsDestroyedEvent.getDvs().dvs;
String mor_type = mordvs.getType();
DistributedVirtualSwitch dvs = null;
dvs = (DistributedVirtualSwitch) MorUtil.createExactManagedEntity(si.getServerConnection(), mordvs);
String dvsName = dvs.getName();
dvs.getName() is throwing exception as
Caught Exception : Name : java.lang.RuntimeException Message : com.vmware.vim25.ManagedObjectNotFound: VmwareDistributedVirtualSwitch:dvs-122 Trace