mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-148408 Raise exception during debugging - resources
This commit is contained in:
@@ -71,7 +71,7 @@ public class ThrowExceptionAction extends DebuggerAction {
|
||||
thread.stop((ObjectReference)value);
|
||||
}
|
||||
catch (Exception e) {
|
||||
showError(debugProcess.getProject(), DebuggerBundle.message("error.early.return", e.getLocalizedMessage()));
|
||||
showError(debugProcess.getProject(), DebuggerBundle.message("error.throw.exception", e.getLocalizedMessage()));
|
||||
return;
|
||||
}
|
||||
//noinspection SSBasedInspection
|
||||
@@ -147,7 +147,7 @@ public class ThrowExceptionAction extends DebuggerAction {
|
||||
myEditor = new XDebuggerExpressionEditor(myProject, myEditorsProvider, "throwExceptionValue", myFrame.getSourcePosition(),
|
||||
XExpressionImpl.EMPTY_EXPRESSION, false, true, false);
|
||||
|
||||
setTitle("Exception");
|
||||
setTitle("Exception To Throw");
|
||||
init();
|
||||
}
|
||||
|
||||
|
||||
@@ -30,6 +30,7 @@ error.modification.watchpoints.not.supported=Target VM does not support modifica
|
||||
error.native.method.exception=None of the frames through and including frame may be native
|
||||
error.executing.finally=Error while executing finally blocks: {0}
|
||||
error.early.return=Error while doing early return: {0}
|
||||
error.throw.exception=Error while throwing exception: {0}
|
||||
warning.finally.block.detected=Non-empty finally blocks detected:
|
||||
button.drop.anyway=Do Not Execute
|
||||
button.execute.finally=Execute Finally Blocks
|
||||
|
||||
Reference in New Issue
Block a user