summaryrefslogtreecommitdiff
path: root/package/source/zippackage/ZipPackageBuffer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'package/source/zippackage/ZipPackageBuffer.cxx')
-rw-r--r--package/source/zippackage/ZipPackageBuffer.cxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/package/source/zippackage/ZipPackageBuffer.cxx b/package/source/zippackage/ZipPackageBuffer.cxx
index 579896248428..deff026f0d58 100644
--- a/package/source/zippackage/ZipPackageBuffer.cxx
+++ b/package/source/zippackage/ZipPackageBuffer.cxx
@@ -43,7 +43,7 @@ ZipPackageBuffer::~ZipPackageBuffer(void)
}
sal_Int32 SAL_CALL ZipPackageBuffer::readBytes( Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead )
- throw(NotConnectedException, BufferSizeExceededException, IOException, RuntimeException)
+ throw(NotConnectedException, BufferSizeExceededException, IOException, RuntimeException, std::exception)
{
if (nBytesToRead < 0)
throw BufferSizeExceededException(THROW_WHERE, *this );
@@ -58,12 +58,12 @@ sal_Int32 SAL_CALL ZipPackageBuffer::readBytes( Sequence< sal_Int8 >& aData, sal
}
sal_Int32 SAL_CALL ZipPackageBuffer::readSomeBytes( Sequence< sal_Int8 >& aData, sal_Int32 nMaxBytesToRead )
- throw(NotConnectedException, BufferSizeExceededException, IOException, RuntimeException)
+ throw(NotConnectedException, BufferSizeExceededException, IOException, RuntimeException, std::exception)
{
return readBytes(aData, nMaxBytesToRead);
}
void SAL_CALL ZipPackageBuffer::skipBytes( sal_Int32 nBytesToSkip )
- throw(NotConnectedException, BufferSizeExceededException, IOException, RuntimeException)
+ throw(NotConnectedException, BufferSizeExceededException, IOException, RuntimeException, std::exception)
{
if (nBytesToSkip < 0)
throw BufferSizeExceededException(THROW_WHERE, *this );
@@ -74,16 +74,16 @@ void SAL_CALL ZipPackageBuffer::skipBytes( sal_Int32 nBytesToSkip )
m_nCurrent+=nBytesToSkip;
}
sal_Int32 SAL_CALL ZipPackageBuffer::available( )
- throw(NotConnectedException, IOException, RuntimeException)
+ throw(NotConnectedException, IOException, RuntimeException, std::exception)
{
return static_cast < sal_Int32 > (m_nEnd - m_nCurrent);
}
void SAL_CALL ZipPackageBuffer::closeInput( )
- throw(NotConnectedException, IOException, RuntimeException)
+ throw(NotConnectedException, IOException, RuntimeException, std::exception)
{
}
void SAL_CALL ZipPackageBuffer::writeBytes( const Sequence< sal_Int8 >& aData )
- throw(NotConnectedException, BufferSizeExceededException, IOException, RuntimeException)
+ throw(NotConnectedException, BufferSizeExceededException, IOException, RuntimeException, std::exception)
{
sal_Int64 nDataLen = aData.getLength(), nCombined = m_nEnd + nDataLen;
@@ -106,27 +106,27 @@ void SAL_CALL ZipPackageBuffer::writeBytes( const Sequence< sal_Int8 >& aData )
m_nEnd = m_nCurrent;
}
void SAL_CALL ZipPackageBuffer::flush( )
- throw(NotConnectedException, BufferSizeExceededException, IOException, RuntimeException)
+ throw(NotConnectedException, BufferSizeExceededException, IOException, RuntimeException, std::exception)
{
}
void SAL_CALL ZipPackageBuffer::closeOutput( )
- throw(NotConnectedException, BufferSizeExceededException, IOException, RuntimeException)
+ throw(NotConnectedException, BufferSizeExceededException, IOException, RuntimeException, std::exception)
{
}
void SAL_CALL ZipPackageBuffer::seek( sal_Int64 location )
- throw( IllegalArgumentException, IOException, RuntimeException)
+ throw( IllegalArgumentException, IOException, RuntimeException, std::exception)
{
if ( location > m_nEnd || location < 0 )
throw IllegalArgumentException(THROW_WHERE, uno::Reference< uno::XInterface >(), 1 );
m_nCurrent = location;
}
sal_Int64 SAL_CALL ZipPackageBuffer::getPosition( )
- throw(IOException, RuntimeException)
+ throw(IOException, RuntimeException, std::exception)
{
return m_nCurrent;
}
sal_Int64 SAL_CALL ZipPackageBuffer::getLength( )
- throw(IOException, RuntimeException)
+ throw(IOException, RuntimeException, std::exception)
{
return m_nEnd;
}