void Serializer::serializeFaultMessage(const std::string& name, Poco::Exception& exc) { _pException = exc.clone(); }
void HTTPSession::setException(const Poco::Exception& exc) { delete _pException; _pException = exc.clone(); }
BundleEvent::BundleEvent(Bundle* pBundle, const Poco::Exception& exception): _pBundle(pBundle, true), _what(EV_BUNDLE_FAILED), _pException(exception.clone()) { }