Here, base may overflow beyond limits of int, causing runtime error, at which point I intend to catch the Runtime error raised, and handle it, so I tried the try-catch block, but it is not being caught.
int base=1;
try
{
     base *= 10;
     //some code
}
catch(...)
{
     //some code
}
 
    