Loading...
Searching...
No Matches
pappso::PappsoException Class Reference

`#include <pappsoexception.h>`

Inheritance diagram for pappso::PappsoException:

## 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

std::string | m_stdMessage
QString | m_message

## Detailed Description

Definition at line 41 of file pappsoexception.h.

## Constructor & Destructor Documentation

## PappsoException() [1/2]

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

inline

Definition at line 44 of file pappsoexception.h.

{
qDebug() << message;
m_message = message;
m_stdMessage.assign(m_message.toStdString());
}
pappso::PappsoException::m_message
QString m_message
Definition pappsoexception.h:85
pappso::PappsoException::m_stdMessage
std::string m_stdMessage
Definition pappsoexception.h:84

References m_message, and m_stdMessage.

## PappsoException() [2/2]

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

inline

Definition at line 51 of file pappsoexception.h.

{
m_message = other.m_message;
m_stdMessage.assign(m_message.toStdString());
}

References m_message, and m_stdMessage.

## ~PappsoException()

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

inline virtual

Definition at line 79 of file pappsoexception.h.

{
}

## Member Function Documentation

## clone()

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

inline override virtual

Reimplemented in pappso::ExceptionInterrupted, pappso::ExceptionNotFound, pappso::ExceptionNotImplemented, pappso::ExceptionNotPossible, pappso::ExceptionNotRecognized, pappso::ExceptionOutOfRange, and pappso::XtandemError.

Definition at line 62 of file pappsoexception.h.

{
return new PappsoException(*this);
}
pappso::PappsoException::PappsoException
PappsoException(const QString &message)
Definition pappsoexception.h:44

## qwhat()

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

inline virtual

Definition at line 68 of file pappsoexception.h.

{
return m_message;
}

References m_message.

Referenced by pappso::PeptideFragmentIonListBase::PeptideFragmentIonListBase(), pappso::PeptideIsotopeSpectrumMatch::PeptideIsotopeSpectrumMatch(), pappso::XtandemHyperscore::XtandemHyperscore(), pappso::MsRunXicExtractorDiskBuffer::appendSliceInBuffer(), pappso::XtandemHyperscoreBis::computeXtandemHyperscore(), pappso::AaModification::createInstance(), pappso::TraceDetectionZivy::detect(), pappso::MsRunXicExtractorDiskBuffer::flushBufferOnDisk(), pappso::XtandemHyperscore::getHyperscore(), pappso::XtandemHyperscoreBis::getHyperscore(), pappso::AaModification::getInstance(), pappso::AaModification::getInstanceMutation(), pappso::Protein::getMass(), pappso::TimsData::getMassSpectrumCstSPtrByRawIndex(), pappso::TimsFrameType1::getMassSpectrumSPtr(), pappso::TimsData::getQualifiedMassSpectrumByRawIndex(), pappso::TimsData::getQualifiedMs2MassSpectrumByPrecursorId(), pappso::TimsData::getRawMs2ByPrecursorId(), pappso::MsRunReader::getRetentionTimeLine(), pappso::TimsFrameType1::getScanIndexList(), pappso::TimsFrameType1::getScanIntensities(), pappso::MsRunReader::getTicChromatogram(), pappso::TimsBinDec::getTimsFrameSPtrByOffset(), pappso::TimsMsFileReader::initialize(), pappso::operator>>(), pappso::MsRunXicExtractorDisk::prepareExtractor(), pappso::TimsMsRunReaderMs2::qualifiedMassSpectrum(), pappso::PwizMsRunReader::qualifiedMassSpectrumFromPwizSpectrumPtr(), pappso::TimsData::rawReaderSpectrumCollectionByMsLevel(), pappso::MsRunReader::scanNumber2SpectrumIndex(), pappso::TimsBinDec::startLinearRead(), and pappso::MsRunXicExtractorDisk::unserializeSlice().

## raise()

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

inline override

Definition at line 57 of file pappsoexception.h.

{
throw *this;
}

## what()

const char * pappso::PappsoException::what | ( |  | ) | const

inline override noexcept

Definition at line 74 of file pappsoexception.h.

{
return m_stdMessage.c_str();
}

References m_stdMessage.

Referenced by pappso::AaModification::getInstance(), pappso::AaModification::getInstanceMutation(), pappso::TimsData::getQualifiedMs1MassSpectrumByPrecursorId(), pappso::TimsData::getQualifiedMs2MassSpectrumByPrecursorId(), pappso::TimsData::getRawMs2ByPrecursorId(), and pappso::TimsData::getXicCoordTimsFromPrecursorId().

## Member Data Documentation

## m_message

QString pappso::PappsoException::m_message

private

Definition at line 85 of file pappsoexception.h.

Referenced by PappsoException(), PappsoException(), and qwhat().

## m_stdMessage

std::string pappso::PappsoException::m_stdMessage

private

Definition at line 84 of file pappsoexception.h.

Referenced by PappsoException(), PappsoException(), and what().

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

- pappsomspp/pappsoexception.h