Lines Matching refs:exception
1 " Test try-catch-finally exception handling
375 call assert_report('Caught ' . v:exception . ' in ' . v:throwpoint)
384 call assert_report('Caught ' . v:exception . ' in ' . v:throwpoint)
393 call assert_report('Caught ' . v:exception . ' in ' . v:throwpoint)
403 " When a number is thrown, it is converted to a string exception.
404 " Numbers and strings may be caught by specifying a regular exception
498 call assert_report('Caught ' . v:exception . ' in ' . v:throwpoint)
512 " When an exception is thrown and there are multiple :catch clauses,
640 call assert_report('Caught ' . v:exception . ' in ' . v:throwpoint)
675 call assert_report('Caught ' . v:exception . ' in ' . v:throwpoint)
689 " When :try blocks are nested, an exception is caught by the innermost
741 " When an exception is thrown from within nested :try blocks, the
820 " When an exception is thrown from a :catch clause, it should not be
882 call assert_report('Caught ' . v:exception . ' in ' . v:throwpoint)
897 " When an exception is thrown from a :finally clause, it should not be
900 " thrown exception is discarded.
971 call assert_report('Caught ' . v:exception . ' in ' . v:throwpoint)
1088 call assert_report('Caught ' . v:exception . ' in ' . v:throwpoint)
1110 " On an :if, :elseif, or :while command, an exception might be thrown
1111 " during evaluation of the expression to test. The exception can be
1136 call assert_report("if: " . v:exception . " in " . v:throwpoint)
1153 call assert_report("elseif: " . v:exception . " in " . v:throwpoint)
1167 call assert_report("while: " .. v:exception .. " in " .. v:throwpoint)
1173 call assert_report(v:exception .. " in " .. v:throwpoint)
1184 " On a :return or :throw command, an exception might be thrown during
1186 " exception can be caught by the script.
1219 call assert_report("return: " .. v:exception .. " in " .. v:throwpoint)
1230 call assert_report("return-var: " . v:exception . " in " . v:throwpoint)
1245 call assert_report("throw1: " .. v:exception .. " in " .. v:throwpoint)
1258 call assert_report("throw2: " .. v:exception .. " in " .. v:throwpoint)
1271 call assert_report("throw3: " .. v:exception .. " in " .. v:throwpoint)
1283 call assert_report('Caught' .. v:exception .. ' in ' .. v:throwpoint)
1293 " exception might be thrown during evaluation of the arguments to
1295 " arguments are not evaluated, then. The exception can be caught by
1323 call assert_report("echo: " .. v:exception .. " in " .. v:throwpoint)
1334 call assert_report('echon: ' . v:exception . ' in ' . v:throwpoint)
1345 call assert_report('echomsg: ' . v:exception . ' in ' . v:throwpoint)
1360 call assert_report('echoerr: ' . v:exception . ' in ' . v:throwpoint)
1371 call assert_report('execute: ' . v:exception . ' in ' . v:throwpoint)
1381 call assert_report('Caught ' . v:exception . ' in ' . v:throwpoint)
1391 " On a :let command, an exception might be thrown during evaluation
1394 " deleted, respectively, may throw an exception. Any following
1395 " arguments are not evaluated, then. The exception can be caught by
1523 call assert_report('Caught ' . v:exception . ' in ' . v:throwpoint)
1535 " exception might be thrown. The exception can be caught by the
1575 call assert_report('def: ' . v:exception . ' in ' . v:throwpoint)
1592 call assert_report('lst: ' . v:exception . ' in ' . v:throwpoint)
1609 call assert_report('del: ' . v:exception . ' in ' . v:throwpoint)
1613 call assert_report('Caught ' . v:exception . ' in ' . v:throwpoint)
1626 " expression) to be evaluated. During evaluation an exception
1627 " might be thrown. The exception can be caught by the script.
1689 call assert_report('exists2: ' . v:exception . ' in ' . v:throwpoint)
1692 call assert_report('exists1: ' . v:exception . ' in ' . v:throwpoint)
1724 call assert_report('searchpair: ' . v:exception . ' in ' . v:throwpoint)
1751 " exception in order to get the same execution path.
1779 call assert_report('substitute()y: ' . v:exception . ' in '
1790 call assert_report('substitute()n: ' . v:exception . ' in '
1798 call assert_report('Caught ' . v:exception . ' in ' . v:throwpoint)
1811 " be caught as an exception.
1968 call assert_report('Caught ' . v:exception . ' in ' . v:throwpoint)
2020 " Test for verbose messages displayed when an exception is caught
2034 " Test for verbose messages displayed when an exception is discarded
2129 " exception in a finally handler
2153 " Test for throwing an exception from a BufEnter autocmd {{{1
2239 let caught = v:exception