Lines Matching refs:exception
285 // Check exception after worker construction
287 HILOG_ERROR("taskpool:: Worker construction occur exception");
560 napi_value exception;
561 napi_get_and_clear_last_exception(env, &exception);
562 if (exception != nullptr) {
563 HILOG_ERROR("taskpool:: InitTaskPoolFunc occur exception");
565 napi_value errorEvent = ErrorHelper::TranslateErrorEvent(env, exception);
623 napi_value exception;
624 napi_get_and_clear_last_exception(env, &exception);
625 if (exception != nullptr) {
626 HILOG_ERROR("taskpool::PerformTask occur exception");
629 napi_value errorEvent = ErrorHelper::TranslateErrorEvent(env, exception);