summaryrefslogtreecommitdiff
path: root/io/source/stm
diff options
context:
space:
mode:
Diffstat (limited to 'io/source/stm')
-rw-r--r--io/source/stm/omark.cxx2
-rw-r--r--io/source/stm/streamhelper.hxx8
2 files changed, 9 insertions, 1 deletions
diff --git a/io/source/stm/omark.cxx b/io/source/stm/omark.cxx
index 31d07604cbf0..af4e9f248456 100644
--- a/io/source/stm/omark.cxx
+++ b/io/source/stm/omark.cxx
@@ -130,6 +130,8 @@ public: // XServiceInfo
private:
// helper methods
+ /// @throws NotConnectedException
+ /// @throws BufferSizeExceededException
void checkMarksAndFlush() throw( NotConnectedException, BufferSizeExceededException);
Reference< XConnectable > m_succ;
diff --git a/io/source/stm/streamhelper.hxx b/io/source/stm/streamhelper.hxx
index 11f65567e129..d175b46c9764 100644
--- a/io/source/stm/streamhelper.hxx
+++ b/io/source/stm/streamhelper.hxx
@@ -40,15 +40,18 @@ public:
* overwrites data at given position. Size is automatically extended, when
* data is written beyond end.
***/
+ /// @throws css::io::BufferSizeExceededException
void writeAt( sal_Int32 nPos, const Sequence<sal_Int8> &)
throw(css::io::BufferSizeExceededException);
+ /// @throws css::io::BufferSizeExceededException
void readAt( sal_Int32 nPos, Sequence<sal_Int8> & , sal_Int32 nBytesToRead ) const
throw(css::io::BufferSizeExceededException);
sal_Int32 getSize() const throw();
+ /// @throws css::io::BufferSizeExceededException
void forgetFromStart(sal_Int32 nBytesToForget) throw(css::io::BufferSizeExceededException);
private:
-
+ /// @throws css::io::BufferSizeExceededException
void resizeBuffer(sal_Int32 nMinSize) throw(css::io::BufferSizeExceededException);
inline void checkInvariants() {
assert( m_nBufferLen >= 0 );
@@ -70,10 +73,13 @@ class MemFIFO :
private MemRingBuffer
{
public:
+ /// @throws css::io::BufferSizeExceededException
void write( const Sequence<sal_Int8> &)
throw( css::io::BufferSizeExceededException );
+ /// @throws css::io::BufferSizeExceededException
void read( Sequence<sal_Int8> & , sal_Int32 nBytesToRead )
throw( css::io::BufferSizeExceededException );
+ /// @throws css::io::BufferSizeExceededException
void skip( sal_Int32 nBytesToSkip )
throw( css::io::BufferSizeExceededException );
sal_Int32 getSize() const throw()