Fixed error when using different implementation of IResponse

Fixed error during exception handling when using different implementation of IResponse.

In process excpetion code access property warnOnBuffer which is not part of IResponse interface but only of it's specific implementation. Resolved by adding check for type.
:+1: