       ,       , 
    .   , 
        
,      .    
  ,      
  . 
      ,       
 ,   Run() ,    
    . ,   
    : 

    void Run() throw(Error) 
    { 
      throw "An unknown exception object"; 
    }

         ,   
 trapper()      , 
  Run().   ,    
 catch      const char*  
char*.  trapperO,   ,    
 ,    ,   , 
Error.       
   catch   main(),   
  . 
      ,       ,  
      Error.   
        
 exit()
. 
         

          ,   
,     , .. 
   .    
   -xd   .    
   Options\Project...,   C++ Options 
   Exception handling\RTTI. (RTTI  Runtime Type Information, 
    ). ,    
Enable exceptions  Enable destructor cleanup. 
    
    

          
 ObjectWindows- (OWL).

          ,  

        , 
           . 

      ,       . 
      AnyClass  : 

    int AnyFunction() 
    { 
      AnyClass object(123); 
       // ... 
       if (condition) throw Error(); 
       return object.Value(); 
    )

          AnyClass.    
,      . ,  
   ,    , 
        , ,   
      . 
      -xd      
   ,       
object         
 .    ,   
 g   ,   ,    
     ,    
 . ( ,       
     ,  OWL.) 


     15.   C++     415 
