summaryrefslogtreecommitdiffstats
path: root/io/source/TextInputStream/TextInputStream.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'io/source/TextInputStream/TextInputStream.cxx')
-rw-r--r--io/source/TextInputStream/TextInputStream.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/io/source/TextInputStream/TextInputStream.cxx b/io/source/TextInputStream/TextInputStream.cxx
index 0c40aaa5935c..644db6fb3177 100644
--- a/io/source/TextInputStream/TextInputStream.cxx
+++ b/io/source/TextInputStream/TextInputStream.cxx
@@ -314,12 +314,12 @@ sal_Int32 OTextInputStream::implReadNext()
}
catch( NotConnectedException& )
{
- throw IOException();
+ throw IOException("Not connected");
//throw IOException( L"OTextInputStream::implReadString failed" );
}
catch( BufferSizeExceededException& )
{
- throw IOException();
+ throw IOException("Buffer size exceeded");
}
}