320                                                     11. 

 ,         -
 :

try {

throw("SOS") ;

io_condition eof(argv[i]);

throw (eof) ;

catch(const char*) {}
catch(io_condition& x) {}

 throw    catch,  :

1.     catch;

2.        ;

3.    ,     
 ,   catch.

     ,  
   . :

catch(void*)            //   char*
catch(char*)

catch(BaseTypeError&)   //   DerivedTypeError

catch(DerivedTypeError&)

//,   DerivedTypeError

//   BaseTypeError

 try   .      
    try,      
  try.     ,
   ,   terminate () (. -
 11.8, terminate()  unexpected(),  . 321).

11.6. 

   :

catch(_)
  _

 catch        -
 .

  catch.

catch (char* message)
{

cerr  message  endl;