EA-57152 - VMDE: GroovyPositionManager.locationsOfLine - rethrow VMDisconnectedException, it is catched in DebuggerManagerThreadImpl

This commit is contained in:
Egor.Ushakov
2014-07-04 18:02:09 +04:00
parent 822bcd6b8e
commit 033abd3b90
@@ -26,6 +26,7 @@ import com.intellij.util.ThreeState;
import com.intellij.xdebugger.frame.XStackFrame;
import com.sun.jdi.Location;
import com.sun.jdi.ReferenceType;
import com.sun.jdi.VMDisconnectedException;
import com.sun.jdi.request.ClassPrepareRequest;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -60,6 +61,9 @@ public class CompoundPositionManager extends PositionManagerEx {
}
catch (NoDataException ignored) {
}
catch (VMDisconnectedException e) {
throw e;
}
catch (Exception e) {
LOG.error(e);
}
@@ -79,6 +83,9 @@ public class CompoundPositionManager extends PositionManagerEx {
}
catch (NoDataException ignored) {
}
catch (VMDisconnectedException e) {
throw e;
}
catch (Exception e) {
LOG.error(e);
}
@@ -98,6 +105,9 @@ public class CompoundPositionManager extends PositionManagerEx {
}
catch (NoDataException ignored) {
}
catch (VMDisconnectedException e) {
throw e;
}
catch (Exception e) {
LOG.error(e);
}
@@ -116,6 +126,9 @@ public class CompoundPositionManager extends PositionManagerEx {
}
catch (NoDataException ignored) {
}
catch (VMDisconnectedException e) {
throw e;
}
catch (Exception e) {
LOG.error(e);
}