User Defined Exception Handling In Python