def get_exception(self):
self.lock.acquire()<EOL>try:<EOL><INDENT>e = self.saved_exception<EOL>self.saved_exception = None<EOL>return e<EOL><DEDENT>finally:<EOL><INDENT>self.lock.release()<EOL><DEDENT>
Return any exception that happened during the last server request.
This can be used to fetch more specific error information after using
calls like L{start_client}.  The exception (if any) is cleared after
this call.

@return: an exception, or C{None} if there is no stored exception.
@rtype: Exception

@since: 1.1