]> OCCT Git - occt.git/commitdiff
0026926: Small mistake in the exceptions part of Foundation Classes User's Guide
authorysn <ysn@opencascade.com>
Wed, 9 Dec 2015 11:55:16 +0000 (14:55 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 10 Dec 2015 14:24:34 +0000 (17:24 +0300)
A minor clarification

dox/user_guides/foundation_classes/foundation_classes.md

index d39d9b05dc699789daaa1435500e9fdc4702a9a2..ce350dbd8f0de5cffac5007944e09855deb39723 100644 (file)
@@ -811,7 +811,7 @@ void f(1)
 
 Here, the first handler will catch exceptions of *Overflow* type and the second one - exceptions of *NumericError* type and all exceptions derived from it, including *Underflow* and *ZeroDivide*. 
 
-The handlers are checked in order of appearance, from the  nearest to the most distant try block, until one matches the raise expression.  For a try block, it would be a mistake to place a handler for a base exception  type ahead of a handler for its derived type since that would ensure that the  handler for the derived exception would never be invoked.  
+The handlers are checked in order of appearance, from the nearest to the try block to the most distant from it, until one matches the raise expression.  For a try block, it would be a mistake to place a handler for a base exception  type ahead of a handler for its derived type since that would ensure that the  handler for the derived exception would never be invoked.  
 
 ~~~~~
 void f(1)