Bring back kApplicationException (dotnet/coreclr#10650)
authorHugh Bellamy <hughbellars@gmail.com>
Sun, 2 Apr 2017 16:12:29 +0000 (23:12 +0700)
committerJan Kotas <jkotas@microsoft.com>
Sun, 2 Apr 2017 16:12:29 +0000 (09:12 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/36137cf33f1c03abd7e95ff33139748c0b825d38

src/coreclr/src/vm/rexcep.h

index 0417bef..b4a8318 100644 (file)
 //
 
 DEFINE_EXCEPTION(g_ReflectionNS,       AmbiguousMatchException,        false,  COR_E_AMBIGUOUSMATCH)
-// ApplicationException is removed in CoreCLR
-#define kApplicationException kException 
+DEFINE_EXCEPTION(g_SystemNS,           ApplicationException,           false,  COR_E_APPLICATION)
 DEFINE_EXCEPTION(g_SystemNS,           AppDomainUnloadedException,     false,  COR_E_APPDOMAINUNLOADED)
 DEFINE_EXCEPTION(g_SystemNS,           ArithmeticException,            false,  COR_E_ARITHMETIC)