Home
last modified time | relevance | path

Searched refs:exceptionHandle (Results 1 – 5 of 5) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/tests/
Daccessor_data_test.cpp238 JSHandle<JSTaggedValue> exceptionHandle(thread, thread->GetException()); in HWTEST_F_L0() local
241 factory->NewCompletionRecord(CompletionRecordType::NORMAL, exceptionHandle); in HWTEST_F_L0()
245 factory->NewCompletionRecord(CompletionRecordType::THROW, exceptionHandle); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/
Decma_context.cpp437 JSHandle<JSTaggedValue> exceptionHandle = GetEcmaUncaughtException(); in GetAndClearEcmaUncaughtException() local
439 return exceptionHandle; in GetAndClearEcmaUncaughtException()
505 JSHandle<JSTaggedValue> exceptionHandle(thread_, thread_->GetException()); in GetEcmaUncaughtException() local
506 return exceptionHandle; in GetEcmaUncaughtException()
520 JSHandle<JSTaggedValue> exceptionHandle(thread_, exception); in HandleUncaughtException() local
523 if (exceptionHandle->IsJSError()) { in HandleUncaughtException()
524 PrintJSErrorInfo(thread_, exceptionHandle); in HandleUncaughtException()
527 JSHandle<EcmaString> result = JSTaggedValue::ToString(thread_, exceptionHandle); in HandleUncaughtException()
Djs_proxy.cpp542 JSHandle<JSTaggedValue> exceptionHandle(thread, JSTaggedValue::Exception()); in GetProperty() local
545 … OperationResult(thread, exceptionHandle.GetTaggedValue(), PropertyMetaData(false))); in GetProperty()
553 thread, OperationResult(thread, exceptionHandle.GetTaggedValue(), PropertyMetaData(false))); in GetProperty()
564 thread, OperationResult(thread, exceptionHandle.GetTaggedValue(), PropertyMetaData(false))); in GetProperty()
571 thread, OperationResult(thread, exceptionHandle.GetTaggedValue(), PropertyMetaData(false))); in GetProperty()
578 thread, OperationResult(thread, exceptionHandle.GetTaggedValue(), PropertyMetaData(false))); in GetProperty()
589 … OperationResult(thread, exceptionHandle.GetTaggedValue(), PropertyMetaData(false))); in GetProperty()
600 … OperationResult(thread, exceptionHandle.GetTaggedValue(), PropertyMetaData(false))); in GetProperty()
Decma_vm.cpp363 JSHandle<JSTaggedValue> exceptionHandle = GetEcmaUncaughtException(); in GetAndClearEcmaUncaughtException() local
365 return exceptionHandle; in GetAndClearEcmaUncaughtException()
373 JSHandle<JSTaggedValue> exceptionHandle(thread_, thread_->GetException()); in GetEcmaUncaughtException() local
374 return exceptionHandle; in GetEcmaUncaughtException()
/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi.cpp408 JSHandle<JSTaggedValue> exceptionHandle = JSNApiHelper::ToJSHandle(exception); in PrintExceptionInfo() local
409 if (exceptionHandle->IsJSError()) { in PrintExceptionInfo()
410 vm->PrintJSErrorInfo(exceptionHandle); in PrintExceptionInfo()
414 JSHandle<EcmaString> result = JSTaggedValue::ToString(thread, exceptionHandle); in PrintExceptionInfo()