MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / CanHandleException

Method CanHandleException

cpp/iedriver/ScriptException.cpp:37–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37STDMETHODIMP ScriptException::CanHandleException(EXCEPINFO* exception_info_pointer,
38 VARIANT* variant_value) {
39 this->is_exception_handled_ = true;
40 this->message_ = exception_info_pointer->bstrDescription;
41 this->source_ = exception_info_pointer->bstrSource;
42 return S_OK;
43}
44
45STDMETHODIMP ScriptException::IsExceptionHandled(bool* is_handled) {
46 *is_handled = this->is_exception_handled_;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected