diff options
Diffstat (limited to 'io/source/connector/ctr_pipe.cxx')
-rw-r--r-- | io/source/connector/ctr_pipe.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/io/source/connector/ctr_pipe.cxx b/io/source/connector/ctr_pipe.cxx index 8d66dea7b901..5ee0b70bc970 100644 --- a/io/source/connector/ctr_pipe.cxx +++ b/io/source/connector/ctr_pipe.cxx @@ -51,7 +51,7 @@ namespace stoc_connector { { if( m_nStatus ) { - throw IOException(); + throw IOException("pipe already closed"); } if( aReadBytes.getLength() != nBytesToRead ) { @@ -65,11 +65,11 @@ namespace stoc_connector { { if( m_nStatus ) { - throw IOException(); + throw IOException("pipe already closed"); } if( m_pipe.write( seq.getConstArray() , seq.getLength() ) != seq.getLength() ) { - throw IOException(); + throw IOException("short write"); } } |