libpappsomspp
Library for mass spectrometry
Loading...
Searching...
No Matches
pappso::PappsoException Class Reference

#include <pappsoexception.h>

Inheritance diagram for pappso::PappsoException:
pappso::ExceptionInterrupted pappso::ExceptionNotFound pappso::ExceptionNotImplemented pappso::ExceptionNotPossible pappso::ExceptionNotRecognized pappso::ExceptionOutOfRange pappso::XtandemError

Public Member Functions

 PappsoException (const QString &message) throw ()
 PappsoException (const PappsoException &other) throw ()
void raise () const override
virtual QException * clone () const override
virtual const QString & qwhat () const throw ()
const char * what () const noexcept override
virtual ~PappsoException () throw ()

Private Attributes

QString m_message
std::string m_stdMessage

Detailed Description

Definition at line 40 of file pappsoexception.h.

Constructor & Destructor Documentation

◆ PappsoException() [1/2]

pappso::PappsoException::PappsoException ( const QString & message)
throw ( )
inlineexplicit

Definition at line 43 of file pappsoexception.h.

44 : m_message(QString("%1@%2: %3").arg(__FILE__, __FUNCTION__, message)),
45 m_stdMessage(m_message.toStdString())
46 {
47 }

References m_message.

Referenced by PappsoException(), and clone().

◆ PappsoException() [2/2]

pappso::PappsoException::PappsoException ( const PappsoException & other)
throw ( )
inline

Definition at line 49 of file pappsoexception.h.

50 : m_message(other.m_message), m_stdMessage(other.m_stdMessage)
51 {
52 }

References PappsoException().

◆ ~PappsoException()

virtual pappso::PappsoException::~PappsoException ( )
throw ( )
inlinevirtual

Definition at line 77 of file pappsoexception.h.

78 {
79 }

Member Function Documentation

◆ clone()

virtual QException * pappso::PappsoException::clone ( ) const
inlineoverridevirtual

◆ qwhat()

virtual const QString & pappso::PappsoException::qwhat ( ) const
throw ( )
inlinevirtual

Definition at line 66 of file pappsoexception.h.

67 {
68 return m_message;
69 }

References m_message.

Referenced by pappso::cbor::psm::MzIdentMlReader::MzIdentMlReader(), pappso::PeptideFragmentIonListBase::PeptideFragmentIonListBase(), pappso::PeptideIsotopeSpectrumMatch::PeptideIsotopeSpectrumMatch(), pappso::cbor::psm::SageFileReader::SageFileReader(), pappso::XtandemHyperscore::XtandemHyperscore(), pappso::MsRunXicExtractorDiskBuffer::appendSliceInBuffer(), pappso::masschroq::MsRunPeptideList::collectPeptideMs2RetentionTime(), pappso::masschroq::MsRunPeptideList::collectPeptidePeakRetentionTime(), pappso::XtandemHyperscoreBis::computeXtandemHyperscore(), pappso::AaModification::createInstance(), pappso::TraceDetectionZivy::detect(), pappso::MzcborMsRunReader::fillMzcborSpectrum(), pappso::MsRunXicExtractorDiskBuffer::flushBufferOnDisk(), pappso::AaStringCodeMassMatching::getAaCodeFromMassWearingModification(), pappso::TimsDiaSlices::getCombinedMs2ScansByGlobalSliceIndex(), pappso::TimsDdaPrecursors::getCombinedMs2ScansByPrecursorId(), pappso::XtandemHyperscore::getHyperscore(), pappso::XtandemHyperscoreBis::getHyperscore(), pappso::AaModification::getInstance(), pappso::AaModification::getInstanceMutation(), pappso::MassSpectrumWidget::getJsonPsmIsotope(), pappso::AaCode::getMass(), pappso::Protein::getMass(), pappso::TimsData::getMassSpectrumCstSPtrByGlobalScanIndex(), pappso::TimsFrameType1::getMassSpectrumSPtr(), pappso::TimsDiaSlices::getMs1QualifiedSpectrumByGlobalSliceIndex(), pappso::TimsDiaSlices::getMs2QualifiedSpectrumByGlobalSliceIndex(), pappso::TimsData::getQualifiedMassSpectrumByGlobalScanIndex(), pappso::TimsDdaPrecursors::getQualifiedMs2MassSpectrumBySpectrumDescr(), pappso::MsRunReader::getRetentionTimeLine(), pappso::TimsFrameType1::getScanIntensityList(), pappso::TimsFrameType1::getScanTofIndexList(), pappso::MsRunReader::getTicChromatogram(), pappso::TimsBinDec::getTimsFrameSPtrByOffset(), pappso::TimsMsFileReader::initialize(), pappso::operator>>(), pappso::specpeptidoms::SemiGlobalAlignment::perfectShiftPossible(), pappso::specpeptidoms::SemiGlobalAlignment::perfectShiftPossibleEnd(), pappso::specpeptidoms::SemiGlobalAlignment::preciseAlign(), pappso::MsRunXicExtractorDisk::prepareExtractor(), pappso::TimsDirectXicExtractor::protectedExtractXicCoordSPtrList(), pappso::TimsMsRunReaderMs2::qualifiedMassSpectrum(), pappso::PwizMsRunReader::qualifiedMassSpectrumFromPwizSpectrumPtr(), pappso::masschroq::MsRunPeptideList::quantifyMatchBetweenRun(), pappso::TimsDdaPrecursors::rawReaderSpectrumCollectionByMsLevel(), pappso::masschroq::JsonInput::read_msrun_peptide_observations(), pappso::cbor::mzcbor::MzcborSpectrumCollectionReader::readSpectrum(), pappso::MzcborMsRunReader::readSpectrumCollectionWithMsrunReadConfig(), pappso::MsRunReader::scanNumber2SpectrumIndex(), pappso::TimsBinDec::startLinearRead(), pappso::MsRunXicExtractorDisk::unserializeSlice(), and pappso::specpeptidoms::SemiGlobalAlignment::updateAlignmentMatrix().

◆ raise()

void pappso::PappsoException::raise ( ) const
inlineoverride

Definition at line 55 of file pappsoexception.h.

56 {
57 throw *this;
58 }

◆ what()

Member Data Documentation

◆ m_message

QString pappso::PappsoException::m_message
private

Definition at line 82 of file pappsoexception.h.

Referenced by PappsoException(), and qwhat().

◆ m_stdMessage

std::string pappso::PappsoException::m_stdMessage
private

Definition at line 83 of file pappsoexception.h.

Referenced by what().


The documentation for this class was generated from the following file: