Exception Handling done in client program correctly.