Home
last modified time | relevance | path

Searched refs:ThrowErrorByErrcode (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/base/web/webview/interfaces/kits/napi/webviewcontroller/
H A Dnapi_webview_controller.cpp397 BusinessError::ThrowErrorByErrcode( in ParsePDFConfigArgs()
2049 BusinessError::ThrowErrorByErrcode(env, ret); in Close()
2129 BusinessError::ThrowErrorByErrcode(env, ret); in PostMessageEvent()
2182 BusinessError::ThrowErrorByErrcode(env, ret); in PostMessageEventExt()
2226 BusinessError::ThrowErrorByErrcode(env, ret); in OnMessageEventExt()
2472 BusinessError::ThrowErrorByErrcode(env, ret); in OnMessageEvent()
2492 BusinessError::ThrowErrorByErrcode(env, ret); in ZoomIn()
2513 BusinessError::ThrowErrorByErrcode(env, ret); in ZoomOut()
2597 BusinessError::ThrowErrorByErrcode(env, ret); in SetCustomUserAgent()
2664 BusinessError::ThrowErrorByErrcode(env, ret); in BackOrForward()
[all …]
H A Dnapi_native_media_player.cpp248 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in HandleStatusChanged()
255 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in HandleStatusChanged()
286 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in HandleVolumeChanged()
293 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in HandleVolumeChanged()
299 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in HandleVolumeChanged()
324 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in HandleMutedChanged()
331 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in HandleMutedChanged()
356 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in HandlePlaybackRateChanged()
363 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in HandlePlaybackRateChanged()
369 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in HandlePlaybackRateChanged()
[all …]
H A Dnapi_web_scheme_handler_request.cpp499 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR, in JS_SetUrl()
544 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR, in JS_SetStatus()
596 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR, in JS_SetStatusText()
646 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR, in JS_SetMimeType()
697 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR, in JS_SetEncoding()
755 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR, in JS_SetHeaderByName()
761 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR, in JS_SetHeaderByName()
767 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR, in JS_SetHeaderByName()
773 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR, in JS_SetHeaderByName()
819 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR, in JS_SetNetErrorCode()
[all …]
H A Dwebview_javascript_execute_callback.cpp353 BusinessError::ThrowErrorByErrcode(env, TYPE_NOT_MATCH_WITCH_VALUE); in GetString()
378 BusinessError::ThrowErrorByErrcode(env, TYPE_NOT_MATCH_WITCH_VALUE); in GetNumber()
403 BusinessError::ThrowErrorByErrcode(env, TYPE_NOT_MATCH_WITCH_VALUE); in GetBoolean()
427 BusinessError::ThrowErrorByErrcode(env, TYPE_NOT_MATCH_WITCH_VALUE); in GetArrayBuffer()
450 BusinessError::ThrowErrorByErrcode(env, TYPE_NOT_MATCH_WITCH_VALUE); in GetArray()
H A Dnapi_web_download_manager.cpp71 BusinessError::ThrowErrorByErrcode(env, NO_DOWNLOAD_DELEGATE_SET); in JS_ResumeDownload()
H A Dnapi_web_download_item.cpp564 BusinessError::ThrowErrorByErrcode(env, DOWNLOAD_NOT_START); in JS_Pause()
595 BusinessError::ThrowErrorByErrcode(env, DOWNLOAD_NOT_PAUSED); in JS_Resume()
656 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR, in JS_Start()
748 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR, in JS_Deserialize()
/ohos5.0/base/web/webview/interfaces/kits/napi/webadsblockmanager/
H A Dnapi_web_adsblock_manager.cpp83 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsSetAdsBlockRules()
92 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsSetAdsBlockRules()
99 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsSetAdsBlockRules()
107 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsSetAdsBlockRules()
131 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsAddAdsBlockDisallowedList()
140 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsAddAdsBlockDisallowedList()
164 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsRemoveAdsBlockDisallowedList()
173 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsRemoveAdsBlockDisallowedList()
211 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsAddAdsBlockAllowedList()
220 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsAddAdsBlockAllowedList()
[all …]
/ohos5.0/base/web/webview/interfaces/kits/napi/webdatabase/
H A Dnapi_web_data_base.cpp146 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsSaveHttpAuthCredentials()
152 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsSaveHttpAuthCredentials()
158 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsSaveHttpAuthCredentials()
164 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsSaveHttpAuthCredentials()
169 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsSaveHttpAuthCredentials()
175 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsSaveHttpAuthCredentials()
182 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsSaveHttpAuthCredentials()
205 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsGetHttpAuthCredentials()
212 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsGetHttpAuthCredentials()
219 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsGetHttpAuthCredentials()
[all …]
H A Dnapi_geolocation_permission.cpp134 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in ProcessActionByType()
141 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in ProcessActionByType()
159 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::INVALID_ORIGIN); in ProcessActionByType()
165 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::INVALID_ORIGIN); in ProcessActionByType()
347 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsGetAccessibleGeolocation()
353 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsGetAccessibleGeolocation()
363 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsGetAccessibleGeolocation()
368 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsGetAccessibleGeolocation()
534 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsGetStoredGeolocation()
544 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsGetStoredGeolocation()
[all …]
/ohos5.0/base/web/webview/interfaces/kits/napi/webcookiemanager/
H A Dnapi_web_cookie_manager.cpp162 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsFetchCookieAsync()
169 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsFetchCookieAsync()
216 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsGetCookie()
223 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsGetCookie()
230 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsGetCookie()
246 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::INVALID_URL); in JsGetCookie()
261 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsSetCookie()
269 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsSetCookie()
274 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsSetCookie()
281 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsSetCookie()
[all …]
/ohos5.0/base/web/webview/interfaces/kits/napi/webstorage/
H A Dnapi_web_storage.cpp89 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsDeleteOrigin()
97 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsDeleteOrigin()
103 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsDeleteOrigin()
111 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsDeleteOrigin()
119 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::INVALID_ORIGIN); in JsDeleteOrigin()
292 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsGetOrigins()
301 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsGetOrigins()
461 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsGetOriginUsageOrQuota()
468 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsGetOriginUsageOrQuota()
475 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsGetOriginUsageOrQuota()
[all …]
/ohos5.0/base/web/webview/interfaces/kits/napi/common/
H A Dbusiness_error.h33 static void ThrowErrorByErrcode(napi_env env, int32_t errCode);
35 static void ThrowErrorByErrcode(napi_env env, int32_t errCode, const std::string& errorMsg);
H A Dbusiness_error.cpp35 void BusinessError::ThrowErrorByErrcode(napi_env env, int32_t errCode) in ThrowErrorByErrcode() function in OHOS::NWebError::BusinessError
40 void BusinessError::ThrowErrorByErrcode(napi_env env, int32_t errCode, const std::string& errorMsg) in ThrowErrorByErrcode() function in OHOS::NWebError::BusinessError
/ohos5.0/base/web/webview/interfaces/kits/napi/webfunction/
H A Dnapi_webview_function.cpp53 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR); in JsOnce()
62 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR); in JsOnce()