Added exception handling in Customer Class