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

Search Toolkit Book for CSeqalignException

#include <objects/seqalign/seqalign_exception.hpp>

+ Inheritance diagram for CSeqalignException:
+ Collaboration diagram for CSeqalignException:

Public Types

enum  EErrCode {
  eUnsupported , eInvalidAlignment , eInvalidInputAlignment , eInvalidRowNumber ,
  eOutOfRange , eInvalidInputData , eInvalidSeqId , eNotImplemented
}
 

Public Member Functions

virtual const char * GetErrCodeString (void) const override
 
 NCBI_EXCEPTION_DEFAULT (CSeqalignException, CException)
 

Detailed Description

Definition at line 40 of file seqalign_exception.hpp.

Member Enumeration Documentation

◆ EErrCode

Enumerator
eUnsupported 

Operation that is undefined for the given input Seq-align, and which is impossible to perform.

eInvalidAlignment 

The current alignment has a structural or data error.

This error code applies to problems on "this" object in member functions of an alignment object. Note that mismatches between alignment types and scores that are not supported for them are indicated by eUnsupported.

eInvalidInputAlignment 

An invalid alignmnent passed as input to the current operation has a structural or data error.

This error code applies to problems on an alignment object other than "this" object. Note that mismatches between alignment types and scores that are not supported for them are indicated by eUnsupported.

eInvalidRowNumber 
eOutOfRange 
eInvalidInputData 
eInvalidSeqId 

A sequence identifier is invalid or cannot be resolved within the relevant scope.

eNotImplemented 

Attempt to use unimplemented funtionality.

The operation could be performed, in theory, but current code is incomplete and requires modification to provided the desired functionality.

Definition at line 43 of file seqalign_exception.hpp.

Member Function Documentation

◆ GetErrCodeString()

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

Definition at line 81 of file seqalign_exception.hpp.

References CException::GetErrCodeString().

◆ NCBI_EXCEPTION_DEFAULT()

CSeqalignException::NCBI_EXCEPTION_DEFAULT ( CSeqalignException  ,
CException   
)

The documentation for this class was generated from the following file:
Modified on Fri Apr 26 16:25:51 2024 by modify_doxy.py rev. 669887