Home
last modified time | relevance | path

Searched refs:SetException (Results 1 - 25 of 36) sorted by relevance

12

/arkcompiler/runtime_core/static_core/plugins/ets/runtime/
H A Dets_napi_env.cpp61 void PandaEtsNapiEnv::SetException(EtsThrowable *thr) in SetException() function in ark::ets::PandaEtsNapiEnv
64 coroutine_->SetException(thr->GetCoreType()); in SetException()
H A Dets_napi_env.h54 void SetException(EtsThrowable *thr);
H A Dets_exceptions.cpp127 coroutine->SetException(coroutine->GetVM()->GetOOMErrorObject()); in ThrowEtsException()
133 coroutine->SetException(exc->GetCoreType()); in ThrowEtsException()
H A Dets_language_context.cpp75 coroutine->SetException(exc.GetPtr()->GetCoreType()); in ThrowStackOverflowException()
/arkcompiler/runtime_core/static_core/runtime/core/
H A Dcore_language_context.cpp50 thread->SetException(oom); in ThrowException()
98 thread->SetException(excHandle.GetPtr()); in ThrowException()
139 thread->SetException(exc.GetPtr()); in ThrowStackOverflowException()
/arkcompiler/toolchain/test/fuzztest/pttypesexceptiondetailsexception_fuzzer/
H A Dpttypesexceptiondetailsexception_fuzzer.cpp35 details.SetException(std::move(obj)); in PtTypesExceptionDetailsExceptionFuzzTest()
/arkcompiler/ets_runtime/ecmascript/
H A Decma_macros.h364 (thread)->SetException(error); \
377 (thread)->SetException(_error.GetTaggedValue()); \
387 (thread)->SetException(_error.GetTaggedValue()); \
395 (thread)->SetException(error); \
408 (thread)->SetException(_error.GetTaggedValue()); \
420 (thread)->SetException(_error.GetTaggedValue()); \
435 (thread)->SetException(_error.GetTaggedValue()); \
H A Djs_iterator.cpp255 thread->SetException(exceptionOnThread.GetTaggedValue()); in IteratorClose()
269 thread->SetException(exceptionOnThread.GetTaggedValue()); in IteratorClose()
279 thread->SetException(exceptionOnThread.GetTaggedValue()); in IteratorClose()
292 thread->SetException(exceptionOnThread.GetTaggedValue()); in IteratorClose()
H A Djs_async_function.cpp188 thread->SetException(JSTaggedValue::Undefined()); in AsyncFunctionAwaitRejected()
200 thread->SetException(result.GetTaggedValue()); in AsyncFunctionAwaitRejected()
H A Djs_thread.cpp191 void JSThread::SetException(JSTaggedValue exception) in SetException() function in panda::ecmascript::JSThread
196 LOG_ECMA(INFO) << "SetException:" << exception.GetRawData(); in SetException()
528 SetException(error.GetTaggedValue()); in DoStackOverflowCheck()
544 SetException(error.GetTaggedValue()); in DoStackLimitCheck()
741 SetException(error.GetTaggedValue()); in TerminateExecution()
H A Djs_thread.h283 void PUBLIC_API SetException(JSTaggedValue exception);
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
H A Dstd_core_Promise.cpp186 currentCoro->SetException(exc->GetCoreType()); in AwaitProxyPromise()
229 currentCoro->SetException(exc->GetCoreType()); in EtsAwaitPromise()
/arkcompiler/toolchain/tooling/
H A Dprotocol_handler.cpp79 DebuggerApi::SetException(vm_, exception); in ProcessCommand()
/arkcompiler/toolchain/tooling/test/utils/
H A Dtest_hooks.h77 DebuggerApi::SetException(vm_, exception);
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/
H A Dinterop_context.cpp228 coro->SetException(coro->GetVM()->GetOOMErrorObject()); in ThrowETSError()
253 coro->SetException(etsObj->GetCoreType()); in ThrowETSError()
261 coro->SetException(exc.value()->GetCoreType()); in ThrowETSError()
/arkcompiler/ets_runtime/ecmascript/interpreter/
H A Dinterpreter-inl.h268 thread->SetException(error.GetTaggedValue()); \
290 thread->SetException(error.GetTaggedValue()); \
H A Dinterpreter-inl.cpp255 thread->SetException(error.GetTaggedValue()); \
277 thread->SetException(error.GetTaggedValue()); \
863 thread->SetException(error.GetTaggedValue()); in GeneratorReEnterAot()
1441 thread->SetException(error.GetTaggedValue()); in RunInternal()
1563 thread->SetException(error.GetTaggedValue()); in RunInternal()
1608 thread->SetException(error.GetTaggedValue()); in RunInternal()
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/
H A Ddebuggable_thread.cpp184 thread_->SetException(nullptr); in InvokeEvaluationMethod()
/arkcompiler/ets_runtime/ecmascript/debugger/
H A Ddebugger_api.h132 static void SetException(const EcmaVM *ecmaVm, Local<JSValueRef> exception);
H A Ddebugger_api.cpp226 void DebuggerApi::SetException(const EcmaVM *ecmaVm, Local<JSValueRef> exception) in SetException() function in panda::ecmascript::tooling::DebuggerApi
228 ecmaVm->GetJSThread()->SetException(JSNApiHelper::ToJSTaggedValue(*exception)); in SetException()
/arkcompiler/runtime_core/static_core/runtime/include/
H A Dmanaged_thread.h98 void SetException(ObjectHeader *exception) in SetException() function
/arkcompiler/runtime_core/static_core/runtime/
H A Dmethod.cpp435 thread->SetException(exception.GetPtr()); in FindCatchBlock()
/arkcompiler/ets_runtime/ecmascript/stubs/
H A Druntime_stubs.cpp824 thread->SetException(error.GetTaggedValue()); in DEF_RUNTIME_STUBS()
840 thread->SetException(error.GetTaggedValue()); in DEF_RUNTIME_STUBS()
2605 thread->SetException(error.GetTaggedValue()); in DEF_RUNTIME_STUBS()
2616 thread->SetException(error.GetTaggedValue()); in DEF_RUNTIME_STUBS()
2627 thread->SetException(error.GetTaggedValue()); in DEF_RUNTIME_STUBS()
2638 thread->SetException(error.GetTaggedValue()); in DEF_RUNTIME_STUBS()
2652 thread->SetException(error.GetTaggedValue()); in DEF_RUNTIME_STUBS()
2664 thread->SetException(error.GetTaggedValue()); in DEF_RUNTIME_STUBS()
/arkcompiler/runtime_core/static_core/runtime/entrypoints/
H A Dentrypoints.cpp890 ManagedThread::GetCurrent()->SetException(exception); in ThrowExceptionEntrypoint()
1441 thread->SetException(exception); in ThrowExceptionFromInterpreter()
/arkcompiler/ets_runtime/ecmascript/mem/
H A Dheap.cpp1331 thread->SetException(error.GetTaggedValue()); in SetMachineCodeOutOfMemoryError()
1357 thread->SetException(error.GetTaggedValue()); in ThrowOutOfMemoryErrorForDefault()

Completed in 53 milliseconds

12