summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-29 16:21:54 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-04 15:18:00 +0200
commit2c05d758b2b62c9df413e2514fb3cd233d0f3ec7 (patch)
treee0a23d3da6fb17ae97d18957fc14f4a4a8de2d3f /package
parentlookupProfile: drop unreachable code (diff)
downloadcore-2c05d758b2b62c9df413e2514fb3cd233d0f3ec7.tar.gz
core-2c05d758b2b62c9df413e2514fb3cd233d0f3ec7.zip
add << operator for css::uno::Exception
Change-Id: Ia23dafd07133779144965682df3b7125a3214235 Reviewed-on: https://gerrit.libreoffice.org/43046 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'package')
-rw-r--r--package/source/manifest/ManifestReader.cxx6
-rw-r--r--package/source/xstor/owriteablestream.cxx60
-rw-r--r--package/source/xstor/xstorage.cxx426
-rw-r--r--package/source/zipapi/XBufferedThreadedStream.cxx6
-rw-r--r--package/source/zipapi/XUnbufferedStream.cxx2
-rw-r--r--package/source/zippackage/ZipPackageStream.cxx2
6 files changed, 251 insertions, 251 deletions
diff --git a/package/source/manifest/ManifestReader.cxx b/package/source/manifest/ManifestReader.cxx
index 61140f6afc65..2ee8c1187de5 100644
--- a/package/source/manifest/ManifestReader.cxx
+++ b/package/source/manifest/ManifestReader.cxx
@@ -64,15 +64,15 @@ Sequence< Sequence< PropertyValue > > SAL_CALL ManifestReader::readManifestSeque
}
catch (SAXParseException& e)
{
- SAL_WARN("package", "ignoring SAXParseException " + e.Message);
+ SAL_WARN("package", "ignoring " << e);
}
catch (SAXException& e)
{
- SAL_WARN("package", "ignoring SAXException " + e.Message);
+ SAL_WARN("package", "ignoring " << e);
}
catch (IOException& e)
{
- SAL_WARN("package", "ignoring IOException " + e.Message);
+ SAL_WARN("package", "ignoring " << e);
}
xParser->setDocumentHandler ( Reference < XDocumentHandler > () );
return aManifestSequence;
diff --git a/package/source/xstor/owriteablestream.cxx b/package/source/xstor/owriteablestream.cxx
index 9c4c19cb9e91..8f03c20ff990 100644
--- a/package/source/xstor/owriteablestream.cxx
+++ b/package/source/xstor/owriteablestream.cxx
@@ -117,7 +117,7 @@ void SetEncryptionKeyProperty_Impl( const uno::Reference< beans::XPropertySet >&
}
catch ( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", rException.Message);
+ SAL_INFO("package.xstor", rException);
SAL_INFO("package.xstor", "Can't set encryption");
SAL_WARN( "package.xstor", "Can't write encryption related properties!" );
throw io::IOException(); // TODO
@@ -135,7 +135,7 @@ uno::Any GetEncryptionKeyProperty_Impl( const uno::Reference< beans::XPropertySe
}
catch ( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", rException.Message);
+ SAL_INFO("package.xstor", rException);
SAL_INFO("package.xstor", "Can't get encryption property");
SAL_WARN( "package.xstor", "Can't get encryption related properties!" );
@@ -219,7 +219,7 @@ bool KillFile( const OUString& aURL, const uno::Reference< uno::XComponentContex
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", rException.Message);
+ SAL_INFO("package.xstor", rException);
SAL_INFO("package.xstor", "Quiet exception");
}
@@ -241,7 +241,7 @@ OUString GetNewTempFileURL( const uno::Reference< uno::XComponentContext >& rCon
}
catch ( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", rException.Message);
+ SAL_INFO("package.xstor", rException);
SAL_INFO("package.xstor", "Quiet exception");
}
@@ -471,7 +471,7 @@ void OWriteStream_Impl::DisposeWrappers()
}
catch ( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Quiet exception: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Quiet exception: " << rRuntimeException);
}
m_pAntiImpl = nullptr;
@@ -516,13 +516,13 @@ OUString const & OWriteStream_Impl::GetFilledTempFileIfNo( const uno::Reference<
}
catch( const packages::WrongPasswordException& rWrongPasswordException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rWrongPasswordException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rWrongPasswordException);
KillFile( aTempURL, comphelper::getProcessComponentContext() );
throw;
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
KillFile( aTempURL, comphelper::getProcessComponentContext() );
throw;
}
@@ -633,7 +633,7 @@ uno::Reference< io::XStream > OWriteStream_Impl::GetTempFileAsStream()
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Quiet exception: " << rException.Message);
+ SAL_INFO("package.xstor", "Quiet exception: " << rException);
}
}
}
@@ -670,7 +670,7 @@ uno::Reference< io::XInputStream > OWriteStream_Impl::GetTempFileAsInputStream()
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Quiet exception: " << rException.Message);
+ SAL_INFO("package.xstor", "Quiet exception: " << rException);
}
}
}
@@ -1008,7 +1008,7 @@ void OWriteStream_Impl::ReadRelInfoIfNecessary()
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Quiet exception: " << rException.Message);
+ SAL_INFO("package.xstor", "Quiet exception: " << rException);
m_nRelInfoStatus = RELINFO_BROKEN;
m_bOrigRelInfoBroken = true;
@@ -1073,7 +1073,7 @@ uno::Sequence< beans::PropertyValue > OWriteStream_Impl::ReadPackageStreamProper
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Quiet exception: " << rException.Message);
+ SAL_INFO("package.xstor", "Quiet exception: " << rException);
SAL_WARN( "package.xstor", "A property can't be retrieved!" );
}
}
@@ -1180,12 +1180,12 @@ uno::Reference< io::XStream > OWriteStream_Impl::GetStream( sal_Int32 nStreamMod
catch( const packages::WrongPasswordException& rWrongPasswordException )
{
SetEncryptionKeyProperty_Impl( xPropertySet, uno::Sequence< beans::NamedValue >() );
- SAL_INFO("package.xstor", "Rethrow: " << rWrongPasswordException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rWrongPasswordException);
throw;
}
catch ( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Quiet exception: " << rException.Message);
+ SAL_INFO("package.xstor", "Quiet exception: " << rException);
SAL_WARN( "package.xstor", "Can't write encryption related properties!" );
SetEncryptionKeyProperty_Impl( xPropertySet, uno::Sequence< beans::NamedValue >() );
throw io::IOException(); // TODO:
@@ -1217,7 +1217,7 @@ uno::Reference< io::XStream > OWriteStream_Impl::GetStream( sal_Int32 nStreamMod
}
catch( const packages::NoEncryptionException& rNoEncryptionException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rNoEncryptionException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rNoEncryptionException);
throw packages::WrongPasswordException();
}
@@ -1438,7 +1438,7 @@ void OWriteStream_Impl::GetCopyOfLastCommit( uno::Reference< io::XStream >& xTar
}
catch( const packages::NoEncryptionException& rNoEncryptionException )
{
- SAL_INFO("package.xstor", "No Element: " << rNoEncryptionException.Message);
+ SAL_INFO("package.xstor", "No Element: " << rNoEncryptionException);
throw packages::WrongPasswordException();
}
@@ -1507,7 +1507,7 @@ void OWriteStream_Impl::GetCopyOfLastCommit( uno::Reference< io::XStream >& xTar
{
SAL_WARN( "package.xstor", "Can't open encrypted stream!" );
SetEncryptionKeyProperty_Impl( xPropertySet, uno::Sequence< beans::NamedValue >() );
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
throw;
}
@@ -1673,7 +1673,7 @@ OWriteStream::~OWriteStream()
}
catch( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Quiet exception: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Quiet exception: " << rRuntimeException);
}
}
}
@@ -1756,7 +1756,7 @@ void OWriteStream::CopyToStreamInternally_Impl( const uno::Reference< io::XStrea
}
catch ( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Quiet exception: " << rException.Message);
+ SAL_INFO("package.xstor", "Quiet exception: " << rException);
// TODO: set the stream in invalid state or dispose
SAL_WARN( "package.xstor", "The stream become invalid during copiing!" );
throw uno::RuntimeException();
@@ -2362,7 +2362,7 @@ void SAL_CALL OWriteStream::dispose()
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw lang::WrappedTargetRuntimeException("Can not commit/revert the storage!",
static_cast< OWeakObject* >( this ),
@@ -2486,12 +2486,12 @@ sal_Bool SAL_CALL OWriteStream::hasEncryptionData()
}
catch( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw lang::WrappedTargetRuntimeException( "Problems on hasEncryptionData!",
static_cast< ::cppu::OWeakObject* >( this ),
@@ -2521,7 +2521,7 @@ sal_Bool SAL_CALL OWriteStream::hasByID( const OUString& sID )
}
catch( const container::NoSuchElementException& rNoSuchElementException )
{
- SAL_INFO("package.xstor", "No Element: " << rNoSuchElementException.Message);
+ SAL_INFO("package.xstor", "No Element: " << rNoSuchElementException);
}
return false;
@@ -3156,22 +3156,22 @@ void SAL_CALL OWriteStream::commit()
}
catch( const io::IOException& rIOException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIOException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIOException);
throw;
}
catch( const embed::StorageWrappedTargetException& rStorageWrappedTargetException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException);
throw;
}
catch( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw embed::StorageWrappedTargetException( "Problems on commit!",
static_cast< ::cppu::OWeakObject* >( this ),
@@ -3211,22 +3211,22 @@ void SAL_CALL OWriteStream::revert()
}
catch( const io::IOException& rIOException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIOException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIOException);
throw;
}
catch( const embed::StorageWrappedTargetException& rStorageWrappedTargetException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException);
throw;
}
catch( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw embed::StorageWrappedTargetException( "Problems on revert!",
static_cast< ::cppu::OWeakObject* >( this ),
diff --git a/package/source/xstor/xstorage.cxx b/package/source/xstor/xstorage.cxx
index 9eab732a8d4f..5a58339077bd 100644
--- a/package/source/xstor/xstorage.cxx
+++ b/package/source/xstor/xstorage.cxx
@@ -296,7 +296,7 @@ OStorage_Impl::~OStorage_Impl()
}
catch ( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Quiet exception: " << rException.Message);
+ SAL_INFO("package.xstor", "Quiet exception: " << rException);
}
m_pAntiImpl = nullptr;
}
@@ -311,7 +311,7 @@ OStorage_Impl::~OStorage_Impl()
pStorageIter->m_pPointer->InternalDispose( false );
} catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Quiet exception: " << rException.Message);
+ SAL_INFO("package.xstor", "Quiet exception: " << rException);
}
}
@@ -365,7 +365,7 @@ OStorage_Impl::~OStorage_Impl()
}
catch (const uno::Exception& rException)
{
- SAL_INFO("package.xstor", "Quiet exception: " << rException.Message);
+ SAL_INFO("package.xstor", "Quiet exception: " << rException);
}
}
}
@@ -390,7 +390,7 @@ void OStorage_Impl::RemoveReadOnlyWrap( OStorage& aStorage )
pStorageIter->m_pPointer->InternalDispose( false );
} catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Quiet exception: " << rException.Message);
+ SAL_INFO("package.xstor", "Quiet exception: " << rException);
}
pStorageIter = m_aReadOnlyWrapVector.erase(pStorageIter);
@@ -535,7 +535,7 @@ void OStorage_Impl::ReadRelInfoIfNecessary()
}
catch (css::uno::Exception & e)
{
- SAL_INFO("package.xstor", "caught Exception " << e.Message);
+ SAL_INFO("package.xstor", "caught " << e);
}
}
else if ( m_nRelInfoStatus == RELINFO_CHANGED_STREAM )
@@ -614,7 +614,7 @@ void OStorage_Impl::ReadContents()
}
catch( const container::NoSuchElementException& rNoSuchElementException )
{
- SAL_WARN( "package.xstor", "hasMoreElements() implementation has problems! " << rNoSuchElementException.Message);
+ SAL_WARN( "package.xstor", "hasMoreElements() implementation has problems! " << rNoSuchElementException);
break;
}
}
@@ -688,7 +688,7 @@ void OStorage_Impl::CopyToStorage( const uno::Reference< embed::XStorage >& xDes
}
catch( const packages::NoEncryptionException& rNoEncryptionException )
{
- SAL_INFO("package.xstor", "No Encryption: " << rNoEncryptionException.Message);
+ SAL_INFO("package.xstor", "No Encryption: " << rNoEncryptionException);
}
}
}
@@ -852,7 +852,7 @@ void OStorage_Impl::CopyStorageElement( SotElement_Impl* pElement,
}
catch( const packages::NoEncryptionException& rNoEncryptionException )
{
- SAL_INFO("package.xstor", "No Encryption: " << rNoEncryptionException.Message);
+ SAL_INFO("package.xstor", "No Encryption: " << rNoEncryptionException);
}
if (bHasCommonEncryptionData && ::package::PackageEncryptionDatasEqual(pElement->m_xStream->GetCachedEncryptionData(), aCommonEncryptionData))
@@ -906,7 +906,7 @@ void OStorage_Impl::CopyStorageElement( SotElement_Impl* pElement,
}
catch( const packages::WrongPasswordException& rWrongPasswordException )
{
- SAL_INFO("package.xstor", "Handled exception: " << rWrongPasswordException.Message);
+ SAL_INFO("package.xstor", "Handled exception: " << rWrongPasswordException);
// If the common storage password does not allow to open the stream
// it could be copied in raw way, the problem is that the StartKey should be the same
@@ -1188,7 +1188,7 @@ void OStorage_Impl::Commit()
throw aException;
}
- SAL_INFO("package.xstor", "Rethrow: " << aException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << aException);
throw;
}
}
@@ -1812,7 +1812,7 @@ OStorage::~OStorage()
}
catch( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Handled exception: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Handled exception: " << rRuntimeException);
}
}
}
@@ -1857,7 +1857,7 @@ void SAL_CALL OStorage::InternalDispose( bool bNotifyImpl )
xTmp->dispose();
} catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Quiet exception: " << rException.Message);
+ SAL_INFO("package.xstor", "Quiet exception: " << rException);
}
}
}
@@ -2209,32 +2209,32 @@ void SAL_CALL OStorage::copyToStorage( const uno::Reference< embed::XStorage >&
}
catch( const embed::InvalidStorageException& rInvalidStorageException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException);
throw;
}
catch( const lang::IllegalArgumentException& rIllegalArgumentException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException);
throw;
}
catch( const embed::StorageWrappedTargetException& rStorageWrappedTargetException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException);
throw;
}
catch( const io::IOException& rIOException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIOException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIOException);
throw;
}
catch( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw embed::StorageWrappedTargetException( THROW_WHERE "Can't copy storage!",
@@ -2281,37 +2281,37 @@ uno::Reference< io::XStream > SAL_CALL OStorage::openStreamElement(
}
catch( const embed::InvalidStorageException& rInvalidStorageException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException);
throw;
}
catch( const lang::IllegalArgumentException& rIllegalArgumentException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException);
throw;
}
catch( const packages::WrongPasswordException& rWrongPasswordException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rWrongPasswordException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rWrongPasswordException);
throw;
}
catch( const embed::StorageWrappedTargetException& rStorageWrappedTargetException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException);
throw;
}
catch( const io::IOException& rIOException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIOException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIOException);
throw;
}
catch( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw embed::StorageWrappedTargetException(THROW_WHERE "Can't open stream element!",
@@ -2433,32 +2433,32 @@ uno::Reference< embed::XStorage > SAL_CALL OStorage::openStorageElement(
}
catch( const embed::InvalidStorageException& rInvalidStorageException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException);
throw;
}
catch( const lang::IllegalArgumentException& rIllegalArgumentException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException);
throw;
}
catch( const embed::StorageWrappedTargetException& rStorageWrappedTargetException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException);
throw;
}
catch( const io::IOException& rIOException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIOException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIOException);
throw;
}
catch( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw embed::StorageWrappedTargetException( THROW_WHERE "Can't open storage!",
@@ -2495,37 +2495,37 @@ uno::Reference< io::XStream > SAL_CALL OStorage::cloneStreamElement( const OUStr
}
catch( const embed::InvalidStorageException& rInvalidStorageException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException);
throw;
}
catch( const lang::IllegalArgumentException& rIllegalArgumentException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException);
throw;
}
catch( const packages::WrongPasswordException& rWrongPasswordException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rWrongPasswordException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rWrongPasswordException);
throw;
}
catch( const io::IOException& rIOException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIOException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIOException);
throw;
}
catch( const embed::StorageWrappedTargetException& rStorageWrappedTargetException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException);
throw;
}
catch( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw embed::StorageWrappedTargetException( THROW_WHERE "Can't clone stream!",
@@ -2558,32 +2558,32 @@ void SAL_CALL OStorage::copyLastCommitTo(
}
catch( const embed::InvalidStorageException& rInvalidStorageException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException);
throw;
}
catch( const lang::IllegalArgumentException& rIllegalArgumentException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException);
throw;
}
catch( const embed::StorageWrappedTargetException& rStorageWrappedTargetException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException);
throw;
}
catch( const io::IOException& rIOException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIOException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIOException);
throw;
}
catch( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw embed::StorageWrappedTargetException( THROW_WHERE "Can't copy last commit version!",
@@ -2637,32 +2637,32 @@ void SAL_CALL OStorage::copyStorageElementLastCommitTo(
}
catch( const embed::InvalidStorageException& rInvalidStorageException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException);
throw;
}
catch( const lang::IllegalArgumentException& rIllegalArgumentException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException);
throw;
}
catch( const io::IOException& rIOException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIOException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIOException);
throw;
}
catch( const embed::StorageWrappedTargetException& rStorageWrappedTargetException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException);
throw;
}
catch( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw embed::StorageWrappedTargetException( THROW_WHERE "Can't copy last commit element version!",
@@ -2695,27 +2695,27 @@ sal_Bool SAL_CALL OStorage::isStreamElement( const OUString& aElementName )
}
catch( const embed::InvalidStorageException& rInvalidStorageException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException);
throw;
}
catch( const lang::IllegalArgumentException& rIllegalArgumentException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException);
throw;
}
catch( const container::NoSuchElementException& rNoSuchElementException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rNoSuchElementException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rNoSuchElementException);
throw;
}
catch( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw lang::WrappedTargetRuntimeException( THROW_WHERE "Can't detect whether it is a stream!",
@@ -2753,27 +2753,27 @@ sal_Bool SAL_CALL OStorage::isStorageElement( const OUString& aElementName )
}
catch( const embed::InvalidStorageException& rInvalidStorageException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException);
throw;
}
catch( const lang::IllegalArgumentException& rIllegalArgumentException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException);
throw;
}
catch( const container::NoSuchElementException& rNoSuchElementException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rNoSuchElementException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rNoSuchElementException);
throw;
}
catch( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw lang::WrappedTargetRuntimeException( THROW_WHERE "can't detect whether it is a storage",
@@ -2822,37 +2822,37 @@ void SAL_CALL OStorage::removeElement( const OUString& aElementName )
}
catch( const embed::InvalidStorageException& rInvalidStorageException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException);
throw;
}
catch( const lang::IllegalArgumentException& rIllegalArgumentException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException);
throw;
}
catch( const container::NoSuchElementException& rNoSuchElementException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rNoSuchElementException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rNoSuchElementException);
throw;
}
catch( const io::IOException& rIOException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIOException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIOException);
throw;
}
catch( const embed::StorageWrappedTargetException& rStorageWrappedTargetException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException);
throw;
}
catch( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw embed::StorageWrappedTargetException( THROW_WHERE "Can't remove element!",
@@ -2902,42 +2902,42 @@ void SAL_CALL OStorage::renameElement( const OUString& aElementName, const OUStr
}
catch( const embed::InvalidStorageException& rInvalidStorageException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException);
throw;
}
catch( const lang::IllegalArgumentException& rIllegalArgumentException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException);
throw;
}
catch( const container::NoSuchElementException& rNoSuchElementException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rNoSuchElementException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rNoSuchElementException);
throw;
}
catch( const container::ElementExistException& rElementExistException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rElementExistException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rElementExistException);
throw;
}
catch( const io::IOException& rIOException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIOException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIOException);
throw;
}
catch( const embed::StorageWrappedTargetException& rStorageWrappedTargetException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException);
throw;
}
catch( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw embed::StorageWrappedTargetException( THROW_WHERE "Can't rename element!",
@@ -2987,42 +2987,42 @@ void SAL_CALL OStorage::copyElementTo( const OUString& aElementName,
}
catch( const embed::InvalidStorageException& rInvalidStorageException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException);
throw;
}
catch( const lang::IllegalArgumentException& rIllegalArgumentException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException);
throw;
}
catch( const container::NoSuchElementException& rNoSuchElementException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rNoSuchElementException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rNoSuchElementException);
throw;
}
catch( const container::ElementExistException& rElementExistException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rElementExistException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rElementExistException);
throw;
}
catch( const embed::StorageWrappedTargetException& rStorageWrappedTargetException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException);
throw;
}
catch( const io::IOException& rIOException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIOException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIOException);
throw;
}
catch( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw embed::StorageWrappedTargetException( THROW_WHERE "Can't copy element!",
@@ -3075,42 +3075,42 @@ void SAL_CALL OStorage::moveElementTo( const OUString& aElementName,
}
catch( const embed::InvalidStorageException& rInvalidStorageException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException);
throw;
}
catch( const lang::IllegalArgumentException& rIllegalArgumentException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException);
throw;
}
catch( const container::NoSuchElementException& rNoSuchElementException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rNoSuchElementException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rNoSuchElementException);
throw;
}
catch( const container::ElementExistException& rElementExistException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rElementExistException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rElementExistException);
throw;
}
catch( const embed::StorageWrappedTargetException& rStorageWrappedTargetException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException);
throw;
}
catch( const io::IOException& rIOException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIOException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIOException);
throw;
}
catch( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw embed::StorageWrappedTargetException( THROW_WHERE "Can't move element!",
@@ -3162,42 +3162,42 @@ uno::Reference< io::XStream > SAL_CALL OStorage::openEncryptedStream(
}
catch( const embed::InvalidStorageException& rInvalidStorageException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException);
throw;
}
catch( const lang::IllegalArgumentException& rIllegalArgumentException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException);
throw;
}
catch( const packages::NoEncryptionException& rNoEncryptionException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rNoEncryptionException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rNoEncryptionException);
throw;
}
catch( const packages::WrongPasswordException& rWrongPasswordException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rWrongPasswordException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rWrongPasswordException);
throw;
}
catch( const embed::StorageWrappedTargetException& rStorageWrappedTargetException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException);
throw;
}
catch( const io::IOException& rIOException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIOException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIOException);
throw;
}
catch( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw embed::StorageWrappedTargetException( THROW_WHERE "Can't open encrypted stream!",
@@ -3240,42 +3240,42 @@ uno::Reference< io::XStream > SAL_CALL OStorage::cloneEncryptedStream(
}
catch( const embed::InvalidStorageException& rInvalidStorageException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException);
throw;
}
catch( const lang::IllegalArgumentException& rIllegalArgumentException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException);
throw;
}
catch( const packages::NoEncryptionException& rNoEncryptionException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rNoEncryptionException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rNoEncryptionException);
throw;
}
catch( const packages::WrongPasswordException& rWrongPasswordException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rWrongPasswordException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rWrongPasswordException);
throw;
}
catch( const io::IOException& rIOException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIOException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIOException);
throw;
}
catch( const embed::StorageWrappedTargetException& rStorageWrappedTargetException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException);
throw;
}
catch( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw embed::StorageWrappedTargetException( THROW_WHERE "Can't clone encrypted stream!",
@@ -3335,37 +3335,37 @@ uno::Reference< io::XInputStream > SAL_CALL OStorage::getPlainRawStreamElement(
}
catch( const embed::InvalidStorageException& rInvalidStorageException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException);
throw;
}
catch( const lang::IllegalArgumentException& rIllegalArgumentException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException);
throw;
}
catch( const container::NoSuchElementException& rNoSuchElementException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rNoSuchElementException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rNoSuchElementException);
throw;
}
catch( const embed::StorageWrappedTargetException& rStorageWrappedTargetException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException);
throw;
}
catch( const io::IOException& rIOException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIOException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIOException);
throw;
}
catch( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw embed::StorageWrappedTargetException( THROW_WHERE "Can't get plain raw stream!",
@@ -3430,42 +3430,42 @@ uno::Reference< io::XInputStream > SAL_CALL OStorage::getRawEncrStreamElement(
}
catch( const embed::InvalidStorageException& rInvalidStorageException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException);
throw;
}
catch( const lang::IllegalArgumentException& rIllegalArgumentException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException);
throw;
}
catch( const packages::NoEncryptionException& rNoEncryptionException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rNoEncryptionException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rNoEncryptionException);
throw;
}
catch( const container::NoSuchElementException& rNoSuchElementException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rNoSuchElementException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rNoSuchElementException);
throw;
}
catch( const embed::StorageWrappedTargetException& rStorageWrappedTargetException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException);
throw;
}
catch( const io::IOException& rIOException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIOException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIOException);
throw;
}
catch( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw embed::StorageWrappedTargetException( THROW_WHERE "Can't get raw stream!",
@@ -3509,42 +3509,42 @@ void SAL_CALL OStorage::insertRawEncrStreamElement( const OUString& aStreamName,
}
catch( const embed::InvalidStorageException& rInvalidStorageException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException);
throw;
}
catch( const lang::IllegalArgumentException& rIllegalArgumentException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException);
throw;
}
catch( const packages::NoRawFormatException& rNoRawFormatException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rNoRawFormatException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rNoRawFormatException);
throw;
}
catch( const container::ElementExistException& rElementExistException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rElementExistException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rElementExistException);
throw;
}
catch( const embed::StorageWrappedTargetException& rStorageWrappedTargetException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException);
throw;
}
catch( const io::IOException& rIOException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIOException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIOException);
throw;
}
catch( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw embed::StorageWrappedTargetException( THROW_WHERE "Can't insert raw stream!",
@@ -3580,22 +3580,22 @@ void SAL_CALL OStorage::commit()
}
catch( const io::IOException& rIOException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIOException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIOException);
throw;
}
catch( const embed::StorageWrappedTargetException& rStorageWrappedTargetException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException);
throw;
}
catch( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw embed::StorageWrappedTargetException( THROW_WHERE "Problems on commit!",
@@ -3644,22 +3644,22 @@ void SAL_CALL OStorage::revert()
}
catch( const io::IOException& rIOException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIOException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIOException);
throw;
}
catch( const embed::StorageWrappedTargetException& rStorageWrappedTargetException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException);
throw;
}
catch( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw embed::StorageWrappedTargetException( THROW_WHERE "Problems on revert!",
@@ -3808,22 +3808,22 @@ uno::Any SAL_CALL OStorage::getByName( const OUString& aName )
}
catch( const container::NoSuchElementException& rNoSuchElementException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rNoSuchElementException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rNoSuchElementException);
throw;
}
catch( const lang::WrappedTargetException& rWrappedTargetException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rWrappedTargetException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rWrappedTargetException);
throw;
}
catch( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw lang::WrappedTargetException( THROW_WHERE "Can not open storage!",
@@ -3850,12 +3850,12 @@ uno::Sequence< OUString > SAL_CALL OStorage::getElementNames()
}
catch( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch ( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw lang::WrappedTargetRuntimeException( THROW_WHERE "Can not open storage!",
@@ -3887,12 +3887,12 @@ sal_Bool SAL_CALL OStorage::hasByName( const OUString& aName )
}
catch( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch ( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw lang::WrappedTargetRuntimeException( THROW_WHERE "Can not open storage!",
@@ -3933,12 +3933,12 @@ sal_Bool SAL_CALL OStorage::hasElements()
}
catch( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw lang::WrappedTargetRuntimeException( THROW_WHERE "Can not open storage!",
@@ -3964,12 +3964,12 @@ void SAL_CALL OStorage::dispose()
}
catch( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw lang::WrappedTargetRuntimeException( THROW_WHERE "Can not open storage!",
@@ -4036,12 +4036,12 @@ void SAL_CALL OStorage::removeEncryption()
}
catch ( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch ( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw lang::WrappedTargetRuntimeException( THROW_WHERE "Can not open package!",
@@ -4063,14 +4063,14 @@ void SAL_CALL OStorage::removeEncryption()
}
catch( const uno::RuntimeException& rRException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRException);
SAL_WARN( "package.xstor", "The call must not fail, it is pretty simple!" );
throw;
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
SAL_WARN( "package.xstor", "The call must not fail, it is pretty simple!" );
throw io::IOException( THROW_WHERE );
@@ -4104,12 +4104,12 @@ void SAL_CALL OStorage::setEncryptionData( const uno::Sequence< beans::NamedValu
}
catch ( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch ( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw lang::WrappedTargetRuntimeException( THROW_WHERE "Can not open package!",
@@ -4129,7 +4129,7 @@ void SAL_CALL OStorage::setEncryptionData( const uno::Sequence< beans::NamedValu
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
throw io::IOException( THROW_WHERE );
}
@@ -4169,12 +4169,12 @@ void SAL_CALL OStorage::setEncryptionAlgorithms( const uno::Sequence< beans::Nam
}
catch ( const uno::RuntimeException& aRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << aRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << aRuntimeException);
throw;
}
catch ( const uno::Exception& aException )
{
- SAL_INFO("package.xstor", "Rethrow: " << aException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << aException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw lang::WrappedTargetRuntimeException( THROW_WHERE "Can not open package!",
@@ -4190,12 +4190,12 @@ void SAL_CALL OStorage::setEncryptionAlgorithms( const uno::Sequence< beans::Nam
}
catch ( const uno::RuntimeException& aRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << aRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << aRuntimeException);
throw;
}
catch( const uno::Exception& aException )
{
- SAL_INFO("package.xstor", "Rethrow: " << aException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << aException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw lang::WrappedTargetRuntimeException( THROW_WHERE "Can not open package!",
@@ -4227,12 +4227,12 @@ uno::Sequence< beans::NamedValue > SAL_CALL OStorage::getEncryptionAlgorithms()
}
catch ( const uno::RuntimeException& aRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << aRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << aRuntimeException);
throw;
}
catch ( const uno::Exception& aException )
{
- SAL_INFO("package.xstor", "Rethrow: " << aException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << aException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw lang::WrappedTargetRuntimeException( THROW_WHERE "Can not open package!",
@@ -4247,12 +4247,12 @@ uno::Sequence< beans::NamedValue > SAL_CALL OStorage::getEncryptionAlgorithms()
}
catch ( const uno::RuntimeException& aRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << aRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << aRuntimeException);
throw;
}
catch( const uno::Exception& aException )
{
- SAL_INFO("package.xstor", "Rethrow: " << aException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << aException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw lang::WrappedTargetRuntimeException( THROW_WHERE "Can not open package!",
@@ -4397,12 +4397,12 @@ uno::Any SAL_CALL OStorage::getPropertyValue( const OUString& aPropertyName )
}
catch ( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch ( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw lang::WrappedTargetException(
@@ -4454,12 +4454,12 @@ uno::Any SAL_CALL OStorage::getPropertyValue( const OUString& aPropertyName )
}
catch ( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch ( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw lang::WrappedTargetException( THROW_WHERE "Can not open package!",
@@ -4556,7 +4556,7 @@ sal_Bool SAL_CALL OStorage::hasByID( const OUString& sID )
}
catch( const container::NoSuchElementException& rNoSuchElementException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rNoSuchElementException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rNoSuchElementException);
}
return false;
@@ -4941,37 +4941,37 @@ void SAL_CALL OStorage::insertStreamElementDirect(
}
catch( const embed::InvalidStorageException& rInvalidStorageException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException);
throw;
}
catch( const lang::IllegalArgumentException& rIllegalArgumentException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException);
throw;
}
catch( const container::ElementExistException& rElementExistException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rElementExistException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rElementExistException);
throw;
}
catch( const embed::StorageWrappedTargetException& rStorageWrappedTargetException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException);
throw;
}
catch( const io::IOException& rIOException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIOException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIOException);
throw;
}
catch( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw embed::StorageWrappedTargetException( THROW_WHERE "Can't insert stream directly!",
@@ -5019,42 +5019,42 @@ void SAL_CALL OStorage::copyElementDirectlyTo(
}
catch( const embed::InvalidStorageException& rInvalidStorageException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException);
throw;
}
catch( const lang::IllegalArgumentException& rIllegalArgumentException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException);
throw;
}
catch( const container::NoSuchElementException& rNoSuchElementException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rNoSuchElementException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rNoSuchElementException);
throw;
}
catch( const container::ElementExistException& rElementExistException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rElementExistException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rElementExistException);
throw;
}
catch( const embed::StorageWrappedTargetException& rStorageWrappedTargetException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException);
throw;
}
catch( const io::IOException& rIOException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIOException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIOException);
throw;
}
catch( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw embed::StorageWrappedTargetException( THROW_WHERE "Can't copy element direcly!",
@@ -5085,32 +5085,32 @@ void SAL_CALL OStorage::writeAndAttachToStream( const uno::Reference< io::XStrea
}
catch( const embed::InvalidStorageException& rInvalidStorageException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException);
throw;
}
catch( const lang::IllegalArgumentException& rIllegalArgumentException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException);
throw;
}
catch( const embed::StorageWrappedTargetException& rStorageWrappedTargetException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException);
throw;
}
catch( const io::IOException& rIOException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIOException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIOException);
throw;
}
catch( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw embed::StorageWrappedTargetException( THROW_WHERE "Can't write and attach to stream!",
@@ -5155,32 +5155,32 @@ void SAL_CALL OStorage::attachToURL( const OUString& sURL,
}
catch( const embed::InvalidStorageException& rInvalidStorageException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException);
throw;
}
catch( const lang::IllegalArgumentException& rIllegalArgumentException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException);
throw;
}
catch( const embed::StorageWrappedTargetException& rStorageWrappedTargetException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException);
throw;
}
catch( const io::IOException& rIOException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIOException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIOException);
throw;
}
catch( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw embed::StorageWrappedTargetException( THROW_WHERE "Can't attach to URL!",
@@ -5226,47 +5226,47 @@ uno::Any SAL_CALL OStorage::getElementPropertyValue( const OUString& aElementNam
}
catch( const embed::InvalidStorageException& rInvalidStorageException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException);
throw;
}
catch( const lang::IllegalArgumentException& rIllegalArgumentException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException);
throw;
}
catch( const container::NoSuchElementException& rNoSuchElementException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rNoSuchElementException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rNoSuchElementException);
throw;
}
catch( const beans::UnknownPropertyException& rUnknownPropertyException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rUnknownPropertyException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rUnknownPropertyException);
throw;
}
catch( const beans::PropertyVetoException& rPropertyVetoException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rPropertyVetoException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rPropertyVetoException);
throw;
}
catch( const embed::StorageWrappedTargetException& rStorageWrappedTargetException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException);
throw;
}
catch( const io::IOException& rIOException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIOException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIOException);
throw;
}
catch( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw embed::StorageWrappedTargetException( THROW_WHERE "Can't get element property!",
@@ -5305,37 +5305,37 @@ void SAL_CALL OStorage::copyStreamElementData( const OUString& aStreamName, cons
}
catch( const embed::InvalidStorageException& rInvalidStorageException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rInvalidStorageException);
throw;
}
catch( const lang::IllegalArgumentException& rIllegalArgumentException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIllegalArgumentException);
throw;
}
catch( const packages::WrongPasswordException& rWrongPasswordException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rWrongPasswordException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rWrongPasswordException);
throw;
}
catch( const io::IOException& rIOException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rIOException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rIOException);
throw;
}
catch( const embed::StorageWrappedTargetException& rStorageWrappedTargetException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rStorageWrappedTargetException);
throw;
}
catch( const uno::RuntimeException& rRuntimeException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rRuntimeException);
throw;
}
catch( const uno::Exception& rException )
{
- SAL_INFO("package.xstor", "Rethrow: " << rException.Message);
+ SAL_INFO("package.xstor", "Rethrow: " << rException);
uno::Any aCaught( ::cppu::getCaughtException() );
throw embed::StorageWrappedTargetException( THROW_WHERE "Can't copy stream data!",
diff --git a/package/source/zipapi/XBufferedThreadedStream.cxx b/package/source/zipapi/XBufferedThreadedStream.cxx
index 11428e076d44..57f88e7ccc83 100644
--- a/package/source/zipapi/XBufferedThreadedStream.cxx
+++ b/package/source/zipapi/XBufferedThreadedStream.cxx
@@ -29,17 +29,17 @@ private:
}
catch( const RuntimeException &e )
{
- SAL_WARN("package", "RuntimeException from unbuffered Stream " << e.Message );
+ SAL_WARN("package", "RuntimeException from unbuffered Stream " << e );
mxStream.saveException( new RuntimeException( e ) );
}
catch( const ZipIOException &e )
{
- SAL_WARN("package", "ZipIOException from unbuffered Stream " << e.Message );
+ SAL_WARN("package", "ZipIOException from unbuffered Stream " << e );
mxStream.saveException( new ZipIOException( e ) );
}
catch( const Exception &e )
{
- SAL_WARN("package", "Unexpected exception " << e.Message );
+ SAL_WARN("package", "Unexpected " << e );
mxStream.saveException( new Exception( e ) );
}
diff --git a/package/source/zipapi/XUnbufferedStream.cxx b/package/source/zipapi/XUnbufferedStream.cxx
index 0292217d966f..75bc769d69ec 100644
--- a/package/source/zipapi/XUnbufferedStream.cxx
+++ b/package/source/zipapi/XUnbufferedStream.cxx
@@ -137,7 +137,7 @@ XUnbufferedStream::XUnbufferedStream(
} catch( Exception& e )
{
// in case of problem the size will stay set to 0
- SAL_WARN("package", "ignoring Exception " + e.Message);
+ SAL_WARN("package", "ignoring " << e);
}
mnZipEnd = mnZipCurrent + mnZipSize;
diff --git a/package/source/zippackage/ZipPackageStream.cxx b/package/source/zippackage/ZipPackageStream.cxx
index 00efe9cf2610..160dfa8d310f 100644
--- a/package/source/zippackage/ZipPackageStream.cxx
+++ b/package/source/zippackage/ZipPackageStream.cxx
@@ -986,7 +986,7 @@ uno::Reference< io::XInputStream > SAL_CALL ZipPackageStream::getInputStream()
}
catch ( Exception &ex )
{
- SAL_WARN( "package", "Exception is thrown during stream wrapping!" << ex.Message);
+ SAL_WARN( "package", "Exception is thrown during stream wrapping!" << ex);
return uno::Reference < io::XInputStream > ();
}
}