Bring back kApplicationException (#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)
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)