summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/file/filstr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/file/filstr.cxx')
-rw-r--r--ucb/source/ucp/file/filstr.cxx43
1 files changed, 0 insertions, 43 deletions
diff --git a/ucb/source/ucp/file/filstr.cxx b/ucb/source/ucp/file/filstr.cxx
index 41891839f3d3..20e4952ab5f3 100644
--- a/ucb/source/ucp/file/filstr.cxx
+++ b/ucb/source/ucp/file/filstr.cxx
@@ -85,7 +85,6 @@ XStream_impl::~XStream_impl()
uno::Reference< io::XInputStream > SAL_CALL
XStream_impl::getInputStream( )
- throw( uno::RuntimeException, std::exception)
{
{
osl::MutexGuard aGuard( m_aMutex );
@@ -97,7 +96,6 @@ XStream_impl::getInputStream( )
uno::Reference< io::XOutputStream > SAL_CALL
XStream_impl::getOutputStream( )
- throw( uno::RuntimeException, std::exception )
{
{
osl::MutexGuard aGuard( m_aMutex );
@@ -108,7 +106,6 @@ XStream_impl::getOutputStream( )
void SAL_CALL XStream_impl::truncate()
- throw( io::IOException, uno::RuntimeException, std::exception )
{
if (osl::FileBase::E_None != m_aFile.setSize(0))
throw io::IOException( THROW_WHERE );
@@ -125,10 +122,6 @@ sal_Int32 SAL_CALL
XStream_impl::readBytes(
uno::Sequence< sal_Int8 >& aData,
sal_Int32 nBytesToRead )
- throw( io::NotConnectedException,
- io::BufferSizeExceededException,
- io::IOException,
- uno::RuntimeException, std::exception)
{
if( ! m_nIsOpen )
throw io::IOException( THROW_WHERE );
@@ -159,10 +152,6 @@ sal_Int32 SAL_CALL
XStream_impl::readSomeBytes(
uno::Sequence< sal_Int8 >& aData,
sal_Int32 nMaxBytesToRead )
- throw( io::NotConnectedException,
- io::BufferSizeExceededException,
- io::IOException,
- uno::RuntimeException, std::exception)
{
return readBytes( aData,nMaxBytesToRead );
}
@@ -170,10 +159,6 @@ XStream_impl::readSomeBytes(
void SAL_CALL
XStream_impl::skipBytes( sal_Int32 nBytesToSkip )
- throw( io::NotConnectedException,
- io::BufferSizeExceededException,
- io::IOException,
- uno::RuntimeException, std::exception )
{
m_aFile.setPos( osl_Pos_Current, sal_uInt64( nBytesToSkip ) );
}
@@ -181,9 +166,6 @@ XStream_impl::skipBytes( sal_Int32 nBytesToSkip )
sal_Int32 SAL_CALL
XStream_impl::available()
- throw( io::NotConnectedException,
- io::IOException,
- uno::RuntimeException, std::exception)
{
return 0;
}
@@ -191,10 +173,6 @@ XStream_impl::available()
void SAL_CALL
XStream_impl::writeBytes( const uno::Sequence< sal_Int8 >& aData )
- throw( io::NotConnectedException,
- io::BufferSizeExceededException,
- io::IOException,
- uno::RuntimeException, std::exception)
{
sal_uInt32 length = aData.getLength();
if(length)
@@ -210,9 +188,6 @@ XStream_impl::writeBytes( const uno::Sequence< sal_Int8 >& aData )
void SAL_CALL
XStream_impl::closeStream()
- throw( io::NotConnectedException,
- io::IOException,
- uno::RuntimeException )
{
if( m_nIsOpen )
{
@@ -230,9 +205,6 @@ XStream_impl::closeStream()
void SAL_CALL
XStream_impl::closeInput()
- throw( io::NotConnectedException,
- io::IOException,
- uno::RuntimeException, std::exception )
{
osl::MutexGuard aGuard( m_aMutex );
m_bInputStreamCalled = false;
@@ -244,9 +216,6 @@ XStream_impl::closeInput()
void SAL_CALL
XStream_impl::closeOutput()
- throw( io::NotConnectedException,
- io::IOException,
- uno::RuntimeException, std::exception )
{
osl::MutexGuard aGuard( m_aMutex );
m_bOutputStreamCalled = false;
@@ -258,9 +227,6 @@ XStream_impl::closeOutput()
void SAL_CALL
XStream_impl::seek( sal_Int64 location )
- throw( lang::IllegalArgumentException,
- io::IOException,
- uno::RuntimeException, std::exception )
{
if( location < 0 )
throw lang::IllegalArgumentException( THROW_WHERE, uno::Reference< uno::XInterface >(), 0 );
@@ -271,8 +237,6 @@ XStream_impl::seek( sal_Int64 location )
sal_Int64 SAL_CALL
XStream_impl::getPosition()
- throw( io::IOException,
- uno::RuntimeException, std::exception )
{
sal_uInt64 uPos;
if( osl::FileBase::E_None != m_aFile.getPos( uPos ) )
@@ -282,8 +246,6 @@ XStream_impl::getPosition()
sal_Int64 SAL_CALL
XStream_impl::getLength()
- throw( io::IOException,
- uno::RuntimeException, std::exception )
{
sal_uInt64 uEndPos;
if ( m_aFile.getSize(uEndPos) != osl::FileBase::E_None )
@@ -294,14 +256,9 @@ XStream_impl::getLength()
void SAL_CALL
XStream_impl::flush()
- throw( io::NotConnectedException,
- io::BufferSizeExceededException,
- io::IOException,
- uno::RuntimeException, std::exception )
{}
void XStream_impl::waitForCompletion()
- throw (io::IOException, uno::RuntimeException, std::exception)
{
// At least on UNIX, to reliably learn about any errors encountered by
// asynchronous NFS write operations, without closing the file directly