No , it is not complier error.
But i am not able to understand that like we are throwing the Exception explicitly but on runtime it is not giving any error , it is working fine that is , it is printing 3 as output.
Could you tell me why.
Thanks
Regards
Gaurav