Add Exception handling for methods.
Test case for ServiceImpl unit.