Exception handling - shit doesnot work properly