Connection Exceptions
[CONNECT]

Collaboration diagram for Connection Exceptions:


Classes

class  CConnException
class  CIO_Exception
 IO exception. More...

Defines

#define NCBI_IO_CHECK(errnum)
 Check EIO_Status, throw an exception if something is wrong.
#define NCBI_IO_CHECK_RW(errnum)
 Check ERW_Result, throw an exception if something is wrong.


Define Documentation

#define NCBI_IO_CHECK errnum   ) 
 

Value:

do { \
        if ( errnum != eIO_Success) { \
            throw CIO_Exception(DIAG_COMPILE_INFO, \
               0, (CIO_Exception::EErrCode)errnum, "IO error."); \
        } \
    } while (0)
Check EIO_Status, throw an exception if something is wrong.

See also:
EIO_Status

Definition at line 85 of file ncbi_conn_exception.hpp.

Referenced by CBufferedSockReaderWriter::Flush(), and CBufferedSockReaderWriter::Read().

#define NCBI_IO_CHECK_RW errnum   ) 
 

Value:

do { \
        if ( errnum != eRW_Success) { \
            throw CIO_Exception(DIAG_COMPILE_INFO, \
               0, (CIO_Exception::EErrCode)errnum, "IO error."); \
        } \
    } while (0)
Check ERW_Result, throw an exception if something is wrong.

See also:
ERW_Result

Definition at line 97 of file ncbi_conn_exception.hpp.


Generated on Mon Dec 7 16:01:53 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Mon Dec 07 16:24:35 2009 by modify_doxy.py rev. 173732