
April 5th, 2003, 11:45 PM
|
|
Contributing User
|
|
Join Date: Feb 2001
Posts: 1,365

Time spent in forums: 18 h 9 m 25 sec
Reputation Power: 14
|
|
|
Hi,
My book says,
catch(...)
{
}
will handle an exception of any type. In addition, it says that all exceptions defined in the standard library are derived from the standard class std::exception, so you can use a base class handler to catch any exceptions derived from std::exception,
catch(exeception& rEX)
{
}
Last edited by 7stud : April 5th, 2003 at 11:55 PM.
|