Implement a thread that can re-raise exceptions.
* bzrlib/tests/test_transport.py:
(TestThreadWithException): Test that the execption is re-raised at
join() time.
* bzrlib/tests/test_server.py:
(ThreadWithException): We need a thread that catch and re-raise
any exception.