. 15.                                                       403

catch(void*)                //  char*

catch(char*)

catch (BaseTypeErrorSc)       //    DerivedTypeError

catch(DerivedTypeError&)

//,   DerivedTypeError

//   BaseTypeError

.15.3. 

   :

catch(_)
 _

 catch        -
 .

  catch.

catch (const char* message)
{

cerr  message  endl;

exit(1) ;

\

catch( ... )   //    



I

cerr  "  Ѩ i "  endl;

abort() ;

}

  ( . . . ) ,    
.  ,      , 
    ,     .  
 .  11.6, ,  . 320 (  ca.tch.cpp).

. 15.4.  

       -
 ,    :

_ throw (_}

 _    ,     throw
 .        -
   .

  ,  ,      -
 throw ( ,  ).

void foo() throw(int, over_flow);

void noex(int i) throw();