Improved exception handling.

By adding varied responses.