winstd::eap_runtime_error exception introduced
This commit is contained in:
parent
dab9e69dd3
commit
5dad353d98
@ -90,6 +90,12 @@ EAP_ERROR* eap::module::make_error(_In_ std::exception &err) const
|
|||||||
wstring what;
|
wstring what;
|
||||||
MultiByteToWideChar(CP_ACP, 0, err.what(), -1, what);
|
MultiByteToWideChar(CP_ACP, 0, err.what(), -1, what);
|
||||||
|
|
||||||
|
{
|
||||||
|
eap_runtime_error *e = dynamic_cast<eap_runtime_error*>(&err);
|
||||||
|
if (e)
|
||||||
|
return make_error(e->number(), e->root_cause(), e->repair(), e->reason(), &e->root_cause_id(), &e->repair_id(), &e->help_link_id());
|
||||||
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
win_runtime_error *e = dynamic_cast<win_runtime_error*>(&err);
|
win_runtime_error *e = dynamic_cast<win_runtime_error*>(&err);
|
||||||
if (e)
|
if (e)
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 71c630085df8151af99cfdcf52f67ac52f44dcfe
|
Subproject commit 73bd1d5882b936abd7b1fa415539465e58a0942d
|
Loading…
x
Reference in New Issue
Block a user