catch
The catch keyword is used to catch exceptions from subroutines.
Syntax
catch ( ExceptionObject& except )
{
}
Example Code
try
{
fuBar();
}
catch ( ExceptionObject& except )
{
// handle exceptions...
}
The catch keyword is used to catch exceptions from subroutines.
catch ( ExceptionObject& except )
{
}
try
{
fuBar();
}
catch ( ExceptionObject& except )
{
// handle exceptions...
}