I'm just wondering if a system exception throws, for example, divide by zero, actually “throws” something into the application. Can this be caught by default?
i means we can define a custom separator fn that checks for a zero divisor and throws an exception, but just thought it would be nice if that exception were thrown by default
//say I do this
int i;
try
{
i /= 0; // My compiler (gcc) did warn abt the divide by zero :-)
}
catch (...)
{
// Can we get here for this case?
}
Karthik
source
share