Browse Source

EFilerError (EClassNotFound) is an internal error

Source commit: f199424fd247a2716283198a9a0477a80afce68d
Martin Prikryl 9 years ago
parent
commit
b23de8a4a6
1 changed files with 3 additions and 1 deletions
  1. 3 1
      source/core/Exceptions.cpp

+ 3 - 1
source/core/Exceptions.cpp

@@ -33,12 +33,14 @@ static bool __fastcall WellKnownException(
     Clone.reset(new EAccessViolation(E->Message));
   }
   // EIntError and EMathError are EExternal
+  // EClassNotFound is EFilerError
   else if ((dynamic_cast<EListError*>(E) != NULL) ||
            (dynamic_cast<EStringListError*>(E) != NULL) ||
            (dynamic_cast<EIntError*>(E) != NULL) ||
            (dynamic_cast<EMathError*>(E) != NULL) ||
            (dynamic_cast<EVariantError*>(E) != NULL) ||
-           (dynamic_cast<EInvalidOperation*>(E) != NULL))
+           (dynamic_cast<EInvalidOperation*>(E) != NULL) ||
+           (dynamic_cast<EFilerError*>(E) != NULL))
   {
     if (Rethrow)
     {