NCBI C++ ToolKit
Public Types | Public Member Functions | List of all members
CSeqsetParseException Class Reference

Search Toolkit Book for CSeqsetParseException

#include <objects/seqset/seqset_exception.hpp>

+ Inheritance diagram for CSeqsetParseException:
+ Collaboration diagram for CSeqsetParseException:

Public Types

enum  EErrCode { eFormat }
 
- Public Types inherited from CParseTemplException< CSeqsetException >
enum  EErrCode
 Error types that for exception class. More...
 
typedef int TErrCode
 

Public Member Functions

virtual const char * GetErrCodeString (void) const override
 Translate from the error code value to its string representation. More...
 
 NCBI_EXCEPTION_DEFAULT2 (CSeqsetParseException, CParseTemplException< CSeqsetException >, std::string::size_type)
 
- Public Member Functions inherited from CParseTemplException< CSeqsetException >
 CParseTemplException (const CDiagCompileInfo &info, const CException *prev_exception, EErrCode err_code, const string &message, string::size_type pos, EDiagSev severity=eDiag_Error)
 Constructor. More...
 
 CParseTemplException (const CParseTemplException< CSeqsetException > &other)
 Constructor. More...
 
virtual ~CParseTemplException (void) noexcept
 Destructor. More...
 
virtual void ReportExtra (ostream &out) const override
 Report error position. More...
 
virtual const char * GetType (void) const override
 Get exception class type. More...
 
TErrCode GetErrCode (void) const
 Get error code. More...
 
string::size_type GetPos (void) const noexcept
 Get error position. More...
 

Additional Inherited Members

- Protected Member Functions inherited from CParseTemplException< CSeqsetException >
 CParseTemplException (const CDiagCompileInfo &info, const CException *prev_exception, const string &message, string::size_type pos, EDiagSev severity, CException::TFlags flags)
 
 CParseTemplException (void)
 Constructor. More...
 
virtual const CExceptionx_Clone (void) const override
 Helper clone method. More...
 

Detailed Description

Definition at line 47 of file seqset_exception.hpp.

Member Enumeration Documentation

◆ EErrCode

Enumerator
eFormat 

Definition at line 51 of file seqset_exception.hpp.

Member Function Documentation

◆ GetErrCodeString()

virtual const char* CSeqsetParseException::GetErrCodeString ( void  ) const
inlineoverridevirtual

Translate from the error code value to its string representation.

Reimplemented from CParseTemplException< CSeqsetException >.

Definition at line 54 of file seqset_exception.hpp.

References eFormat, CParseTemplException< CSeqsetException >::GetErrCode(), and CException::GetErrCodeString().

◆ NCBI_EXCEPTION_DEFAULT2()

CSeqsetParseException::NCBI_EXCEPTION_DEFAULT2 ( CSeqsetParseException  ,
CParseTemplException< CSeqsetException ,
std::string::size_type   
)

The documentation for this class was generated from the following file:
Modified on Wed Apr 17 13:09:25 2024 by modify_doxy.py rev. 669887