With try catch blocks what happens when multiple exceptions are thrown?
Is there chance for multiple exceptions or does it stop as soon as one is thrown?
eg;
Is there chance for multiple exceptions or does it stop as soon as one is thrown?
eg;
Code:
try
{
foo(); //throws an exception
bar(); //Will this function be executed? If so what happens if it throws an exception?
}
catch(...)
{
//...
}
Comment