Make StubHelpers::ProcessByrefValidationList NOTHROW (#6258)
authorJan Vorlicek <janvorli@microsoft.com>
Wed, 13 Jul 2016 22:54:42 +0000 (00:54 +0200)
committerGitHub <noreply@github.com>
Wed, 13 Jul 2016 22:54:42 +0000 (00:54 +0200)
commit0a8cae775a27861a37f89b2c042faea90e25cdaa
treec3a76cafd456ee8277d4010d3f336075106db220
parentc93479bd7aa9aa7fa15af9a6d6aa7d24668a6e9a
Make StubHelpers::ProcessByrefValidationList NOTHROW (#6258)

This change fixes StubHelpers::ProcessByrefValidationList so that it doesn't throw.
While there was a EX_TRY / EX_CATCH, the catch handler calls FormatValidationMessage
to format the message before aborting the process and that function can throw.

The fix is to wrap the inside of the EX_CATCH in one more EX_TRY / EX_CATCH and
abort the process without message if there is an exception in the FormatValidationMessage.
src/vm/stubhelpers.cpp