Home
last modified time | relevance | path

Searched full:thrown (Results 1 – 25 of 189) sorted by relevance

12345678

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates_deprecated/02.multiple_catch_clauses_in_try_statements/
Dfinally.params.yaml18 // finally block with no exception thrown
32 // return from finally block with no exception thrown
45 // return from finally block with exception thrown
60 // exception thrown, no suitable catch, propagates outside
88 // error thrown, no suitable catch, propagates outside
117 // exception thrown, with suitable catch, no propagation outside
147 // error thrown, with suitable catch, no propagation outside
178 // exception thrown, with suitable catch, re-thrown from catch
207 // error thrown, with suitable catch, re-thrown from catch
237 // exception thrown, with suitable catch, re-thrown from finally
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/08.statements/15.try_statements/02.finally_clause/
Dfinally.params.yaml27 // finally block with no error thrown
39 // return from finally block with no error thrown
50 // return from finally block with error thrown
63 // error thrown, no suitable catch, propagates outside
88 // error thrown, with suitable catch, no propagation outside
115 // error thrown, with suitable catch, re-thrown from catch
144 // error thrown, with suitable catch, re-thrown from finally
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/
DExceptions.ets20 * Represents exception that is thrown in case of ?
37 * Represents exception that is thrown when provided argument have value outside the allowable range
54 …* Represents exception that is thrown when a method has been invoked at an illegal or inappropriat…
71 * Represents exception that is thrown when the requested operation is not supported.
88 * @class Represents exception that is thrown when
DErrors.ets47 * @class Represents an error that occurs when exception is thrown and not caught
100 …* @class Represents exception that is thrown when illegal arithmetic operation is occured (e.g. di…
145 …* @class Represents an error that is thrown when attempting to wait, notify or notifyAll on object…
154 * @class Represents exception that is thrown when provided collection index is out of bounds
163 * @class Represents exception that is thrown when provided string index is out of bounds
172 * @class Represents exception that is thrown in case of illegal class casting
181 …* @class Represents exception that is thrown when attempting to store an object of different type …
190 * @class Represents exception that is thrown when negative array size is supplied
211 …* @class Represents the error that is thrown when a requested coroutine operation is invalid in th…
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/coroutines/
Dlaunch_exception.ets36 console.println("No exceptions thrown by coro_stack_overflow() but should be!")
40 console.println("Expected StackOverflowError but another exception has been thrown!");
50 console.println("No exceptions thrown by coro_error() but should be!")
54 console.println("Expected Error but another exception has been thrown!");
Dlaunch_oom.ets36 StdDebug.Logger.log("Wrong exception thrown: " + e);
40 StdDebug.Logger.log("No exception thrown but should be!");
/arkcompiler/runtime_core/static_core/runtime/tests/
Dexception_test.cpp174 << "AbstractMethod exception should have been thrown, but another has"; in TEST_F()
175 ASSERT_NE(result.GetAs<int64_t>(), noExceptions) << "No exceptions were thrown"; in TEST_F()
259 << "AbstractMethod exception should have been thrown, but another has"; in TEST_F()
260 ASSERT_NE(result.GetAs<int64_t>(), noExceptions) << "No exceptions were thrown"; in TEST_F()
347 << "AbstractMethod exception should have been thrown, but another has"; in TEST_F()
348 ASSERT_NE(result.GetAs<int64_t>(), noExceptions) << "No exceptions were thrown"; in TEST_F()
436 << "AbstractMethod exception should have been thrown, but another has"; in TEST_F()
437 ASSERT_NE(result.GetAs<int64_t>(), noExceptions) << "No exceptions were thrown"; in TEST_F()
526 << "AbstractMethod exception should have been thrown, but another has"; in TEST_F()
527 ASSERT_NE(result.GetAs<int64_t>(), noExceptions) << "No exceptions were thrown"; in TEST_F()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/08.statements/14.throw_statements/
Dthrow_neg2.ets17 …atements cause an exception to be thrown. If no such try statement is found, then the UncaughtExce…
Dthrow.ets18 desc: Throw statements cause an exception or Error to be thrown.
Dthrow_neg.ets18 desc: Throw statements cause an error to be thrown.
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_sdk/arkts/@arkts/collections/BitVector/
DsetBitsByRangeTests.ets26 …suite.addTest("Verify error is thrown when 'toIndex' is out of range.", BitVector_setBitsByRange_F…
27 …suite.addTest("Verify error is thrown when 'fromIndex' is not an integer.", BitVector_setBitsByRan…
28 …suite.addTest("Verify error is thrown when both 'fromIndex' and 'toIndex' are negative.", BitVecto…
29 …suite.addTest("Verify error is thrown when 'fromIndex' is negative and 'toIndex' is valid.", BitVe…
64 * @tc.desc : Verify error is thrown when 'toIndex' is out of range.
90 * @tc.desc : Verify error is thrown when 'fromIndex' is not an integer.
116 * @tc.desc : Verify error is thrown when both 'fromIndex' and 'toIndex' are negative.
142 * @tc.desc : Verify error is thrown when 'fromIndex' is negative and 'toIndex' is valid.
/arkcompiler/runtime_core/static_core/plugins/ets/tests/native/exclusive_worker/
Dexclusive_worker_tests.ets186 StdDebug.Logger.log("Wrong exception thrown: " + e);
190 StdDebug.Logger.log("No exception thrown but should be!");
198 console.println("No exceptions thrown by coro_stack_overflow() but should be!")
202 console.println("Expected StackOverflowError but another exception has been thrown!");
226 console.println("No exceptions thrown by coro_error() but should be!")
230 console.println("Expected Error but another exception has been thrown!");
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/18.ensure-not-nullish_expression/
Dnull_check_exception_3.ets17 …f the result of the evaluation of e is equal to null or undefined, then NullPointerError is thrown.
29 assertTrue( false, "Some other Error thrown, not correct")
Dnull_check_exception_2.ets17 …f the result of the evaluation of e is equal to null or undefined, then NullPointerError is thrown.
29 assertTrue( false, "Some other Error thrown, not correct")
Dnull_check_exception_1.ets17 …f the result of the evaluation of e is equal to null or undefined, then NullPointerError is thrown.
29 assertTrue( false, "Some other Error thrown, not correct")
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/08.statements/15.try_statements/
Dtry.params.yaml43 // no catch block, Error thrown
56 // no finally block, Error thrown
/arkcompiler/runtime_core/static_core/plugins/ets/doc/spec/
D8_statements.rst57 action is performed without an error being thrown. On the contrary, a statement
58 execution is considered to *complete abruptly* if it causes an error thrown.
119 appearance within the block while an error is thrown (see :ref:`Errors`), or
828 statement (see :ref:`Try Statements`) is found that catches the value thrown.
829 If no ``try`` statement is found, then ``UncaughtExceptionError`` is thrown.
842 This implies that the object thrown is never ``null``.
844 Errors can be thrown at any place in the code.
848 thrown value
849 thrown object
901 If an error is thrown in the ``try`` block directly or indirectly, then the
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/escompat/
DArrayGet.ets55 const msg = "Expects a RangeError to be thrown for expression 'b[-1] == undefined', " +
81 const msg = "Expects a RangeError to be thrown for expression 'b[-1] == undefined', " +
107 const msg = "Expects a RangeError to be thrown for expression 'b[-1] == undefined', " +
/arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/
Dcheckcast.yaml28 … resolved type, accumulator content remains unchanged. Otherwise ClassCastException is thrown.
314 description: Check that ClassCastException is thrown when object cannot be cast to a type
317 Otherwise ClassCastException is thrown.
367 description: Check that ClassCastException is thrown when array cannot be cast to a type
370 Otherwise ClassCastException is thrown.
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/interop/js/
DNoContextInteropError.ets19 * @class Represents exceptions that is thrown when interop call was made without interop context
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/06.method_declarations/03.abstract_methods/
Dabstract_method_in_non_abstract_class.ets18 assert: A compile-time error must be thrown when a class contains an abstract method but is not mar…
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates_deprecated/15.exceptions/
Dthrow_exception.ets18 assert: An exception can be thrown explicitly using the throw statement or implicitlyby the Virtual…
/arkcompiler/runtime_core/docs/
Ddebugger-vscode-communication.md21 …on was not established at the allocated time the `Can not launch debug server` error will be thrown
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dcheckcast.yaml49 … resolved type, accumulator content remains unchanged. Otherwise ClassCastException is thrown.
787 description: Check that ClassCastException is thrown when object cannot be cast to a type
790 Otherwise ClassCastException is thrown.
856 description: Check that ClassCastException is thrown when object cannot be cast to a type
859 Otherwise ClassCastException is thrown.
911 description: Check that ClassCastException is thrown when array cannot be cast to a type
914 Otherwise ClassCastException is thrown.
956 description: Check that ClassCastException is thrown when array cannot be cast to a type
959 Otherwise ClassCastException is thrown.
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/08.statements/15.try_statements/03.try_statement_execution/
Dexec.ets20 Try block execution completes abruptly if an exception or error x is thrown inside the try block.

12345678