NCBI C++ ToolKit
|
Search Toolkit Book for CLineErrorEx
#include <objtools/readers/line_error.hpp>
Public Member Functions | |
virtual ILineError * | Clone (void) const override |
Use this because copy ctor is protected. More... | |
virtual | ~CLineErrorEx (void) |
void | Throw (void) const |
copy constructor is protected so please use this function to throw the object. More... | |
void | PatchLineNumber (unsigned int uLine) |
void | AddOtherLine (unsigned int uOtherLine) |
EProblem | Problem (void) const override |
virtual EDiagSev | Severity (void) const override |
const std::string & | SeqId (void) const override |
unsigned int | Line (void) const override |
const TVecOfLines & | OtherLines (void) const override |
const std::string & | FeatureName (void) const override |
const std::string & | QualifierName (void) const override |
const std::string & | QualifierValue (void) const override |
virtual std::string | ProblemStr (void) const override |
const std::string & | ErrorMessage (void) const override |
virtual string | Message (void) const override |
virtual int | GetCode (void) const override |
virtual int | GetSubCode (void) const override |
Public Member Functions inherited from ILineError | |
virtual | ~ILineError (void) noexcept |
string | SeverityStr () const |
virtual void | Write (CNcbiOstream &out) const |
virtual void | WriteAsXML (CNcbiOstream &out) const |
virtual string | GetText (void) const |
virtual EDiagSev | GetSeverity (void) const |
virtual void | Dump (CNcbiOstream &out) const |
virtual std::string | Compose (void) const |
virtual void | DumpAsXML (CNcbiOstream &out) const |
Public Member Functions inherited from IObjtoolsMessage | |
virtual | ~IObjtoolsMessage (void)=default |
Static Public Member Functions | |
static CLineErrorEx * | Create (EProblem eProblem, EDiagSev eSeverity, int code, int subcode, const std::string &strSeqId, unsigned int uLine, const std::string &strErrorMessage=string(""), const std::string &strFeatureName=string(""), const std::string &strQualifierName=string(""), const std::string &strQualifierValue=string(""), const TVecOfLines &vecOfOtherLines=TVecOfLines()) |
Use this because the constructor is protected. More... | |
Static Public Member Functions inherited from ILineError | |
static string | ProblemStr (EProblem eProblem) |
Protected Member Functions | |
CLineErrorEx (EProblem eProblem, EDiagSev eSeverity, int code, int subcode, const std::string &strSeqId, unsigned int uLine, const std::string &strErrorMessage, const std::string &strFeatureName, const std::string &strQualifierName, const std::string &strQualifierValue, const TVecOfLines &m_vecOfOtherLine) | |
protected instead of public. Please use the Create function instead. More... | |
CLineErrorEx (const CLineErrorEx &rhs) | |
protected instead of public. More... | |
Definition at line 277 of file line_error.hpp.
|
inlinevirtual |
Definition at line 302 of file line_error.hpp.
|
protected |
protected instead of public. Please use the Create function instead.
Definition at line 367 of file line_error.cpp.
|
protected |
protected instead of public.
Please use the Throw function to throw this exception and try to avoid using the copy constructor at all.
Definition at line 394 of file line_error.cpp.
|
inline |
Definition at line 313 of file line_error.hpp.
References m_vecOfOtherLines.
|
overridevirtual |
Use this because copy ctor is protected.
Implements ILineError.
Definition at line 410 of file line_error.cpp.
References CLineErrorEx().
|
static |
Use this because the constructor is protected.
Definition at line 329 of file line_error.cpp.
References CLineErrorEx().
Referenced by CDefaultModErrorReporter::operator()(), CAlnErrorReporter::Report(), s_PostError(), sPostError(), sReportError(), sReportUnappliedStructuredComment(), and sReportUnusedMods().
|
inlineoverridevirtual |
Reimplemented from ILineError.
Definition at line 352 of file line_error.hpp.
References m_strErrorMessage.
Referenced by ProblemStr().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Reimplemented from ILineError.
Definition at line 354 of file line_error.hpp.
References m_strErrorMessage, and ILineError::Message().
|
inlineoverridevirtual |
|
inline |
Definition at line 308 of file line_error.hpp.
References m_uLine.
|
inlineoverridevirtual |
Implements ILineError.
Definition at line 319 of file line_error.hpp.
References m_eProblem.
Referenced by ProblemStr().
|
inlineoverridevirtual |
Reimplemented from ILineError.
Definition at line 343 of file line_error.hpp.
References ctll::empty(), ILineError::eProblem_GeneralParsingError, ErrorMessage(), m_eProblem, Problem(), and ILineError::ProblemStr().
|
inlineoverridevirtual |
Implements ILineError.
Definition at line 337 of file line_error.hpp.
References m_strQualifierName.
|
inlineoverridevirtual |
Implements ILineError.
Definition at line 340 of file line_error.hpp.
References m_strQualifierValue.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Reimplemented from ILineError.
Definition at line 322 of file line_error.hpp.
References m_eSeverity.
void CLineErrorEx::Throw | ( | void | ) | const |
copy constructor is protected so please use this function to throw the object.
Definition at line 359 of file line_error.cpp.
|
protected |
Definition at line 365 of file line_error.hpp.
Referenced by GetCode().
|
protected |
Definition at line 363 of file line_error.hpp.
Referenced by Problem(), and ProblemStr().
|
protected |
Definition at line 364 of file line_error.hpp.
Referenced by Severity().
|
protected |
Definition at line 372 of file line_error.hpp.
Referenced by ErrorMessage(), and Message().
|
protected |
Definition at line 369 of file line_error.hpp.
Referenced by FeatureName().
|
protected |
Definition at line 370 of file line_error.hpp.
Referenced by QualifierName().
|
protected |
Definition at line 371 of file line_error.hpp.
Referenced by QualifierValue().
|
protected |
Definition at line 367 of file line_error.hpp.
Referenced by SeqId().
|
protected |
Definition at line 366 of file line_error.hpp.
Referenced by GetSubCode().
|
protected |
Definition at line 368 of file line_error.hpp.
Referenced by Line(), and PatchLineNumber().
|
protected |
Definition at line 373 of file line_error.hpp.
Referenced by AddOtherLine(), and OtherLines().