mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
improve exception's description message
This commit is contained in:
@@ -348,7 +348,7 @@ public class CaretModelImpl implements CaretModel, PrioritizedDocumentListener,
|
||||
public void runForEachCaret(@NotNull final CaretAction action, final boolean reverseOrder) {
|
||||
EditorImpl.assertIsDispatchThread();
|
||||
if (myCurrentCaret != null) {
|
||||
throw new IllegalStateException("Current caret is defined, cannot operate on other ones");
|
||||
throw new IllegalStateException("Recursive runForEachCaret invocations are not allowed");
|
||||
}
|
||||
doWithCaretMerging(() -> {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user