ddc
|
generic local exception class moo: derived from stdexcept runtime_error More...
#include <utilit.h>
Public Member Functions | |
CExpc (int ErrorCode) throw () | |
CExpc (int ErrorCode, const string &Cause) throw () | |
CExpc (const string &Cause) throw () | |
CExpc (int ErrorCode, const char *format,...) throw () | |
CExpc (const char *format,...) throw () | |
CExpc (const CExpc &from) throw () | |
copy constructor More... | |
virtual | ~CExpc () throw () |
destructor More... | |
void | Set (const char *format,...) throw () |
set m_strCause with a printf() format More... | |
void | vSet (const char *format, va_list &arglst) throw () |
set m_strCause with a vprintf() format More... | |
CExpc & | operator= (const CExpc &from) throw () |
assignment constructor More... | |
virtual const char * | what () const throw () |
stdexcept interface More... | |
virtual int | code () const throw () |
error code interface More... | |
Public Attributes | |
int | m_ErrorCode |
internal error code (see ../CommonLib/DDCInternalError.h) More... | |
string | m_strCause |
symbolic error message (should also be returned by what() method) More... | |
generic local exception class moo: derived from stdexcept runtime_error
CExpc::CExpc | ( | int | ErrorCode | ) | |
throw | ( | ||||
) |
CExpc::CExpc | ( | int | ErrorCode, |
const string & | Cause | ||
) | |||
throw | ( | ||
) |
CExpc::CExpc | ( | const string & | Cause | ) | |
throw | ( | ||||
) |
CExpc::CExpc | ( | int | ErrorCode, |
const char * | format, | ||
... | |||
) | |||
throw | ( | ||
) |
CExpc::CExpc | ( | const char * | format, |
... | |||
) | |||
throw | ( | ||
) |
CExpc::CExpc | ( | const CExpc & | from | ) | |
throw | ( | ||||
) |
copy constructor
|
inlinevirtual |
destructor
void CExpc::Set | ( | const char * | format, |
... | |||
) | |||
throw | ( | ||
) |
set m_strCause with a printf() format
void CExpc::vSet | ( | const char * | format, |
va_list & | arglst | ||
) | |||
throw | ( | ||
) |
set m_strCause with a vprintf() format
References DDC_STATIC_BUFLEN.
|
virtual |
stdexcept interface
Referenced by do_start(), CDDCLeafServer::handle__run_query(), CHost::HandleClientConnection(), ConcIndexatorInvoker::IndexFile(), LoadLocalCorpora(), CIndexSetForQueryingStage::LoadPeriodDivision(), CDDCServer::ProcessSocketString(), and CHost::RunThread().
|
virtual |
error code interface
Referenced by do_start(), CDDCLeafServer::handle__run_query(), CHost::HandleClientConnection(), LoadLocalCorpora(), CIndexSetForQueryingStage::LoadPeriodDivision(), CDDCServer::ProcessSocketString(), and CHost::RunThread().
int CExpc::m_ErrorCode |
internal error code (see ../CommonLib/DDCInternalError.h)
Referenced by CConcSession::GetOccurrences().
string CExpc::m_strCause |
symbolic error message (should also be returned by what() method)
Referenced by CIndexSetForLoadingStage::AddMemoryLoadIndexToMainLoadIndex(), ConcIndexatorInvoker::BuildIndex(), CConcSession::GetHits(), CConcSession::GetOccurrences(), ConcIndexatorInvoker::IndexFile(), InitConcordDicts(), IsRmlRegistered(), CLemmatizer::LoadDictionariesRegistry(), CGraphmatFile::LoadDicts(), CConcIndexator::LoadFileIntoGraphan(), CGraphmatFile::LoadStringToGraphan(), CConcIndexator::LoadXmlFile(), CIndexSetForLoadingStage::SaveMemoryLoadIndex(), and CConcSession::SimpleQuery().