Exceptions
auto e;
try
{
... some statements that cause a runtime error...
}
catch ( e )
{
// e holds the exception information
// it is an instance of the exception class
} throw 5;Last updated
Was this helpful?
