44 switch ( GetErrCode() ) {
45 case eNotImplemented:
return "eNotImplemented";
46 case eRegisterError:
return "eRegisterError";
47 case eFindConflict:
return "eFindConflict";
48 case eFindFailed:
return "eFindFailed";
49 case eAddDataError:
return "eAddDataError";
50 case eModifyDataError:
return "eModifyDataError";
51 case eInvalidHandle:
return "eInvalidHandle";
52 case eLockedData:
return "eLockedData";
53 case eTransaction:
return "eTransaction";
54 case eMissingData:
return "eMissingData";
55 case eOtherError:
return "eOtherError";
71 case eFail:
return "eFail";
106 case eNoData:
return "eNoData";
Base class for all object manager exceptions.
Include a standard set of the NCBI C++ Toolkit most basic headers.
std::ofstream out("events_result.xml")
main entry point for tests
TErrCode GetErrCode(void) const
Get error code.
virtual const char * GetErrCodeString(void) const
Get error code interpreted as text.
TErrCode GetErrCode(void) const
virtual const char * GetErrCodeString(void) const override
Get error code interpreted as text.
virtual const char * GetErrCodeString(void) const override
Get error code interpreted as text.
void SetFailedCall(const string &call)
virtual const char * GetErrCodeString(void) const override
Get error code interpreted as text.
virtual const char * GetErrCodeString(void) const override
Get error code interpreted as text.
virtual const char * GetErrCodeString(void) const override
Get error code interpreted as text.
virtual const char * GetErrCodeString(void) const override
Get error code interpreted as text.
virtual void ReportExtra(ostream &out) const override
Report "non-standard" attributes.
virtual const char * GetErrCodeString(void) const override
Get error code interpreted as text.
virtual const char * GetErrCodeString(void) const override
Get error code interpreted as text.
@ eDataError
Sequence data error.
@ eOutOfRange
Attempt to access out-of-range iterator.
@ eCodingError
Incompatible coding selected.
@ eIncomatibleType
Incompatible annotation type (feat/graph/align)
@ eFindFailed
Seq-id can not be resolved.
@ eLimitError
Invalid or unknown limit object.
@ eBadLocation
Wrong location type while mapping annotations.
@ eUnimplemented
The method is not implemented.
@ eSegmentTypeError
Wrong segment type.
@ eIteratorTooBig
Bad internal iterator in delta map.
@ eInvalidIndex
Invalid segment index.
@ eSelfReference
Self-reference in seq map is detected.
@ eNullPointer
Attempt to access non-existing object.
@ eOutOfRange
Iterator is out of range.
@ eDataError
SeqMap data error.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.