mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
throw correct exception
This commit is contained in:
@@ -107,6 +107,9 @@ public class StackFrameProxyImpl extends JdiProxy implements StackFrameProxy {
|
||||
final ThreadReference threadRef = myThreadProxy.getThreadReference();
|
||||
myStackFrame = threadRef.frame(getFrameIndex());
|
||||
}
|
||||
catch (IndexOutOfBoundsException e) {
|
||||
throw new EvaluateException(e.getMessage(), e);
|
||||
}
|
||||
catch (ObjectCollectedException e) {
|
||||
throw EvaluateExceptionUtil.createEvaluateException(DebuggerBundle.message("evaluation.error.thread.collected"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user