56 BaseException(file, line, function,
"UnregisteredParameter", parameter)
58 GlobalExceptionHandler::getInstance().setMessage(what());
67 WrongParameterType(
const char* file,
int line,
const char* function,
const std::string& parameter) :
68 BaseException(file, line, function,
"WrongParameterType", parameter)
70 GlobalExceptionHandler::getInstance().setMessage(what());
80 BaseException(file, line, function,
"RequiredParameterNotGiven", parameter)
82 GlobalExceptionHandler::getInstance().setMessage(what());
Exception base class.
Definition Exception.h:63
A required parameter was not given.
Definition TOPPBase_defs.h:77
RequiredParameterNotGiven(const char *file, int line, const char *function, const std::string ¶meter)
Definition TOPPBase_defs.h:79
An unregistered parameter was accessed.
Definition TOPPBase_defs.h:53
UnregisteredParameter(const char *file, int line, const char *function, const std::string ¶meter)
Definition TOPPBase_defs.h:55
A parameter was accessed with the wrong type.
Definition TOPPBase_defs.h:65
WrongParameterType(const char *file, int line, const char *function, const std::string ¶meter)
Definition TOPPBase_defs.h:67
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
Stores Citations for individual TOPP tools.
Definition TOPPBase_defs.h:35
std::string toString() const
mangle members to string
Definition TOPPBase_defs.h:42
std::string when_where
suggested format: journal. year; volume, issue: pages
Definition TOPPBase_defs.h:38
std::string authors
list of authors in AMA style, i.e. "surname initials", ...
Definition TOPPBase_defs.h:36
std::string title
title of article
Definition TOPPBase_defs.h:37
std::string doi
plain DOI (no urls), e.g. 10.1021/pr100177k
Definition TOPPBase_defs.h:39