Polymorphism and dynamic binding and try catch exception