winstd::eap_runtime_error exception introduced

This commit is contained in:
Simon Rozman 2016-10-04 11:21:24 +02:00
parent dab9e69dd3
commit 5dad353d98
2 changed files with 7 additions and 1 deletions

View File

@ -90,6 +90,12 @@ EAP_ERROR* eap::module::make_error(_In_ std::exception &err) const
wstring 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);
if (e)

@ -1 +1 @@
Subproject commit 71c630085df8151af99cfdcf52f67ac52f44dcfe
Subproject commit 73bd1d5882b936abd7b1fa415539465e58a0942d