Added exception handling in the get set methods.