You can create a thread-compatible exception from any existing non-compatible exception class. Thread-compatible Exception provides the template class
RWTTHRCompatibleException<Exception>, which acts as a wrapper to your legacy exception class. An
RWTTHRCompatibleException is stored like any other exception type. But instead of rethrowing itself, its
raise() member function causes the legacy exception to be rethrown. See the
SourcePro API Reference Guide for more information.