VirtualMachineProxyImpl () { DebuggerManagerThreadImpl.assertIsManagerThread(); final VirtualMachineProxyImpl vm = myVirtualMachineProxy; if (vm == null) { if (isInInitialState()) { throw new IllegalStateException("Virtual machine is not initialized yet"); } else { throw new VMDisconnectedException(); } } return vm; }