new mechanism for specifying exceptions
improved logging for number of bodies/responses
added exception methods