diff options
Diffstat (limited to 'io/source/acceptor/acc_pipe.cxx')
-rw-r--r-- | io/source/acceptor/acc_pipe.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/io/source/acceptor/acc_pipe.cxx b/io/source/acceptor/acc_pipe.cxx index b06b0aa678bc..69f1cad79206 100644 --- a/io/source/acceptor/acc_pipe.cxx +++ b/io/source/acceptor/acc_pipe.cxx @@ -73,7 +73,7 @@ namespace io_acceptor { if( m_nStatus ) { - throw IOException(); + throw IOException("pipe already closed"); } if( aReadBytes.getLength() < nBytesToRead ) { @@ -93,11 +93,11 @@ namespace io_acceptor { 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"); } } |