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

Search Toolkit Book for COMSSAException

generic exception class for omssa More...

#include "msms.hpp"
(Private to src/algo/ms/omssa.)

+ Inheritance diagram for COMSSAException:
+ Collaboration diagram for COMSSAException:

Public Types

enum  EErrCode { eMSParseException , eMSNoMatchException , eMSLadderNotFound }
 Error types that subsystem can generate. More...
 

Public Member Functions

virtual const char * GetErrCodeString (void) const override
 Translate from the error code value to its string representation. More...
 
 NCBI_EXCEPTION_DEFAULT (COMSSAException, CException)
 

Detailed Description

generic exception class for omssa

Definition at line 435 of file msms.hpp.

Member Enumeration Documentation

◆ EErrCode

Error types that subsystem can generate.

Enumerator
eMSParseException 

unable to parse COMSSASearch

eMSNoMatchException 

unmatched sequence library

eMSLadderNotFound 

ladder not found in CLadderContainer

Definition at line 438 of file msms.hpp.

Member Function Documentation

◆ GetErrCodeString()

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

Translate from the error code value to its string representation.

Definition at line 445 of file msms.hpp.

References eMSLadderNotFound, eMSNoMatchException, eMSParseException, and CException::GetErrCodeString().

◆ NCBI_EXCEPTION_DEFAULT()

COMSSAException::NCBI_EXCEPTION_DEFAULT ( COMSSAException  ,
CException   
)

The documentation for this class was generated from the following file:
Modified on Fri Sep 20 14:57:13 2024 by modify_doxy.py rev. 669887