Currently our application has several exception catch blocks like this:
Code: Select all
catch (wxSQLite3Exception& e)
{
//log the exception message
}
Now, i need a way to shutdown the application in case of SQLITEFULL exception.
But, checking if the exception type is SQLITEFULL in each of these catch blocks does not seem like a great approach.
Is there a simpler way to do this?
Please help!