NCBI C++ ToolKit
Classes | Enumerations | Enumerator | Functions
Utility Exceptions
+ Collaboration diagram for Utility Exceptions:

Classes

class  CUtilException
 
class  CIOException
 
class  CEofException
 
class  CBlockingQueueException
 

Enumerations

enum  CUtilException::EErrCode { CUtilException::eNoInput , CUtilException::eWrongCommand , CUtilException::eWrongData }
 
enum  CIOException::EErrCode {
  CIOException::eRead , CIOException::eWrite , CIOException::eFlush , CIOException::eCanceled ,
  CIOException::eOverflow
}
 
enum  CEofException::EErrCode { CEofException::eEof }
 
enum  CBlockingQueueException::EErrCode { CBlockingQueueException::eFull , CBlockingQueueException::eTimedOut }
 

Functions

virtual const char * CUtilException::GetErrCodeString (void) const override
 Get error code interpreted as text. More...
 
 CUtilException::NCBI_EXCEPTION_DEFAULT (CUtilException, CException)
 
virtual const char * CIOException::GetErrCodeString (void) const override
 Get error code interpreted as text. More...
 
 CIOException::NCBI_EXCEPTION_DEFAULT (CIOException, CUtilException)
 
virtual const char * CEofException::GetErrCodeString (void) const override
 Get error code interpreted as text. More...
 
 CEofException::NCBI_EXCEPTION_DEFAULT (CEofException, CIOException)
 
virtual const char * CBlockingQueueException::GetErrCodeString (void) const override
 Get error code interpreted as text. More...
 
 CBlockingQueueException::NCBI_EXCEPTION_DEFAULT (CBlockingQueueException, CUtilException)
 

Detailed Description

Enumeration Type Documentation

◆ EErrCode [1/4]

Enumerator
eNoInput 
eWrongCommand 
eWrongData 

Definition at line 51 of file util_exception.hpp.

◆ EErrCode [2/4]

Enumerator
eRead 
eWrite 
eFlush 
eCanceled 
eOverflow 

Definition at line 65 of file util_exception.hpp.

◆ EErrCode [3/4]

Enumerator
eEof 

Definition at line 79 of file util_exception.hpp.

◆ EErrCode [4/4]

Enumerator
eFull 
eTimedOut 

Definition at line 90 of file util_exception.hpp.

Function Documentation

◆ GetErrCodeString() [1/4]

const char * CUtilException::GetErrCodeString ( void  ) const
overridevirtual

Get error code interpreted as text.

Reimplemented from CException.

Reimplemented in CBlockingQueueException, CEofException, and CIOException.

Definition at line 60 of file nc_lib.cpp.

References CUtilException::eNoInput, CUtilException::eWrongCommand, CUtilException::eWrongData, CException::GetErrCode(), and CException::GetErrCodeString().

◆ GetErrCodeString() [2/4]

const char * CIOException::GetErrCodeString ( void  ) const
overridevirtual

◆ GetErrCodeString() [3/4]

const char * CEofException::GetErrCodeString ( void  ) const
overridevirtual

Get error code interpreted as text.

Reimplemented from CIOException.

Definition at line 64 of file util_exception.cpp.

References CEofException::eEof, CException::GetErrCode(), and CException::GetErrCodeString().

◆ GetErrCodeString() [4/4]

const char * CBlockingQueueException::GetErrCodeString ( void  ) const
overridevirtual

Get error code interpreted as text.

Reimplemented from CUtilException.

Definition at line 72 of file util_exception.cpp.

References CBlockingQueueException::eFull, CBlockingQueueException::eTimedOut, CException::GetErrCode(), and CException::GetErrCodeString().

◆ NCBI_EXCEPTION_DEFAULT() [1/4]

CBlockingQueueException::NCBI_EXCEPTION_DEFAULT ( CBlockingQueueException  ,
CUtilException   
)

◆ NCBI_EXCEPTION_DEFAULT() [2/4]

CEofException::NCBI_EXCEPTION_DEFAULT ( CEofException  ,
CIOException   
)

◆ NCBI_EXCEPTION_DEFAULT() [3/4]

CIOException::NCBI_EXCEPTION_DEFAULT ( CIOException  ,
CUtilException   
)

◆ NCBI_EXCEPTION_DEFAULT() [4/4]

CUtilException::NCBI_EXCEPTION_DEFAULT ( CUtilException  ,
CException   
)
Modified on Sun Apr 21 03:37:29 2024 by modify_doxy.py rev. 669887