OpenMS
FeatureFinderDefs::NoSuccessor Class Reference

Exception that is thrown if a method an invalid IndexPair is given. More...

#include <OpenMS/TRANSFORMATIONS/FEATUREFINDER/FeatureFinderDefs.h>

Inheritance diagram for FeatureFinderDefs::NoSuccessor:
[legend]
Collaboration diagram for FeatureFinderDefs::NoSuccessor:
[legend]

Public Member Functions

 NoSuccessor (const char *file, int line, const char *function, const IndexPair &index)
 
 ~NoSuccessor () noexcept override=default
 
- Public Member Functions inherited from BaseException
 BaseException () noexcept
 Default constructor. More...
 
 BaseException (const char *file, int line, const char *function) noexcept
 Constructor. More...
 
 BaseException (const char *file, int line, const char *function, const std::string &name, const std::string &message) noexcept
 Constructor. More...
 
 BaseException (const BaseException &exception) noexcept
 Copy constructor. More...
 
 ~BaseException () noexcept override
 Destructor. More...
 
const char * getName () const noexcept
 Returns the name of the exception. More...
 
int getLine () const noexcept
 Returns the line number where it occurred. More...
 
const char * getFile () const noexcept
 Returns the file where it occurred. More...
 
const char * getFunction () const noexcept
 Returns the function where it occurred. More...
 
const char * getMessage () const noexcept
 Returns the message. More...
 

Protected Attributes

IndexPair index_
 
- Protected Attributes inherited from BaseException
const char * file_
 The source file the exception was thrown in. More...
 
int line_
 The line number the exception was thrown in. More...
 
const char * function_
 The source file the exception was thrown in. More...
 
std::string name_
 The name of the exception. More...
 

Detailed Description

Exception that is thrown if a method an invalid IndexPair is given.

Constructor & Destructor Documentation

◆ NoSuccessor()

NoSuccessor ( const char *  file,
int  line,
const char *  function,
const IndexPair index 
)
inline

◆ ~NoSuccessor()

~NoSuccessor ( )
overridedefaultnoexcept

Member Data Documentation

◆ index_

IndexPair index_
protected