7.7.      C++ 259

U * Solver;

II...
Solver = ErrorTable[Result];

Solver->doSomething() ;

//.. .
};

   7.2    ErrorTable        
defect_response.         -
  .       -
,    ,     SPMD-  MPMD-.
  ,       -
,    9.      -
       . 
  ,      -
      , 
 C++ (   ).

7.7.   
  C++

           -
         .  -
,         
 .    (  )   
      ""   
 .     C++ -
     : try, throw  catch.  , 
  ,        , -
  " "  ,       
( -    ) (. ,  -
 C++, 1997).       (
)    throw.    
  ,     
 .   ,   
 ,    catch.  .

void importantOperation
{

// execute!mportCode()

//   .

impossible_condition ImpossibleCondition;

throw ImpossibleCondition;

//. . .
}

catch (impossible_condition &E)
{

//  ,    .