12 #include <OpenMS/OpenMSConfig.h>
73 BaseException(const
char* file,
int line, const
char* function) noexcept;
76 BaseException(const
char* file,
int line, const
char* function, const std::
string& name, const std::
string& message) noexcept;
90 const
char* getName() const noexcept;
93 int getLine() const noexcept;
96 const
char* getFile() const noexcept;
99 const
char* getFunction() const noexcept;
102 const
char* getMessage() const noexcept;
114 const
char* function_;
130 Precondition(
const char* file,
int line,
const char*
function,
const std::string& condition) noexcept;
143 Postcondition(
const char* file,
int line,
const char*
function,
const std::string& condition) noexcept;
157 MissingInformation(
const char* file,
int line,
const char*
function,
const std::string& error_message) noexcept;
229 FailedAPICall(
const char* file,
int line,
const char*
function,
const std::string& message) noexcept;
242 InvalidRange(
const char* file,
int line,
const char*
function) noexcept;
243 InvalidRange(
const char* file,
int line,
const char*
function,
const std::string& message) noexcept;
260 InvalidSize(
const char* file,
int line,
const char*
function,
Size size = 0) noexcept;
275 OutOfRange(
const char* file,
int line,
const char*
function) noexcept;
290 InvalidValue(
const char* file,
int line,
const char*
function,
const std::string& message,
const std::string& value) noexcept;
301 InvalidParameter(
const char* file,
int line,
const char*
function,
const std::string& message) noexcept;
315 ConversionError(
const char* file,
int line,
const char*
function,
const std::string& error) noexcept;
344 NullPointer(
const char* file,
int line,
const char*
function) noexcept;
413 OutOfMemory(
const char* file,
int line,
const char*
function,
Size size = 0) noexcept;
446 OutOfGrid(
const char* file,
int line,
const char*
function) noexcept;
459 FileNotFound(
const char* file,
int line,
const char*
function,
const std::string& filename) noexcept;
472 FileNotReadable(
const char* file,
int line,
const char*
function,
const std::string& filename) noexcept;
485 FileNotWritable(
const char* file,
int line,
const char*
function,
const std::string& filename) noexcept;
499 FileNameTooLong(
const char* file,
int line,
const char*
function,
const std::string& filename,
int max_length) noexcept;
512 IOException(
const char* file,
int line,
const char*
function,
const std::string& filename) noexcept;
525 SqlOperationFailed(
const char* file,
int line,
const char*
function,
const std::string& description) noexcept;
538 FileEmpty(
const char* file,
int line,
const char*
function,
const std::string& filename) noexcept;
551 IllegalPosition(
const char* file,
int line,
const char*
function,
float x,
float y,
float z) noexcept;
564 ParseError(
const char* file,
int line,
const char*
function,
const std::string& expression,
const std::string& message) noexcept;
577 UnableToCreateFile(
const char* file,
int line,
const char*
function,
const std::string& filename,
const std::string& message =
"") noexcept;
590 InvalidFileType(
const char* file,
int line,
const char*
function,
const std::string& filename,
const std::string& message =
"") noexcept;
601 IllegalArgument(
const char* file,
int line,
const char*
function,
const std::string& error_message) noexcept;
612 InternalToolError(
const char* file,
int line,
const char*
function,
const std::string& error_message) noexcept;
625 ElementNotFound(
const char* file,
int line,
const char*
function,
const std::string& element) noexcept;
638 UnableToFit(
const char* file,
int line,
const char*
function,
const std::string& name,
const std::string& message) noexcept;
652 UnableToCalibrate(
const char* file,
int line,
const char*
function,
const std::string& name,
const std::string& message) noexcept;
665 DepletedIDPool(
const char* file,
int line,
const char*
function,
const std::string& name,
const std::string& message) noexcept;
Exception base class.
Definition: Exception.h:63
BaseException() noexcept
Default constructor.
Buffer overflow exception.
Definition: Exception.h:422
BufferOverflow(const char *file, int line, const char *function) noexcept
Invalid conversion exception.
Definition: Exception.h:313
ConversionError(const char *file, int line, const char *function, const std::string &error) noexcept
Exception used if no more unique document ID's can be drawn from ID pool.
Definition: Exception.h:663
DepletedIDPool(const char *file, int line, const char *function, const std::string &name, const std::string &message) noexcept
Division by zero error exception.
Definition: Exception.h:433
DivisionByZero(const char *file, int line, const char *function) noexcept
Element could not be found exception.
Definition: Exception.h:623
ElementNotFound(const char *file, int line, const char *function, const std::string &element) noexcept
A call to an external library (other than OpenMS) went wrong.
Definition: Exception.h:227
FailedAPICall(const char *file, int line, const char *function, const std::string &message) noexcept
File is empty.
Definition: Exception.h:536
FileEmpty(const char *file, int line, const char *function, const std::string &filename) noexcept
File not found exception.
Definition: Exception.h:457
FileNotFound(const char *file, int line, const char *function, const std::string &filename) noexcept
File not readable exception.
Definition: Exception.h:470
FileNotReadable(const char *file, int line, const char *function, const std::string &filename) noexcept
File not writable exception.
Definition: Exception.h:483
FileNotWritable(const char *file, int line, const char *function, const std::string &filename) noexcept
General IOException.
Definition: Exception.h:510
IOException(const char *file, int line, const char *function, const std::string &filename) noexcept
A method or algorithm argument contains illegal values.
Definition: Exception.h:599
IllegalArgument(const char *file, int line, const char *function, const std::string &error_message) noexcept
Invalid 3-dimensional position exception.
Definition: Exception.h:549
IllegalPosition(const char *file, int line, const char *function, float x, float y, float z) noexcept
Illegal self operation exception.
Definition: Exception.h:328
IllegalSelfOperation(const char *file, int line, const char *function) noexcept
Illegal tree operation exception.
Definition: Exception.h:395
IllegalTreeOperation(const char *file, int line, const char *function) noexcept
Incompatible iterator exception.
Definition: Exception.h:369
IncompatibleIterators(const char *file, int line, const char *function) noexcept
Int overflow exception.
Definition: Exception.h:211
IndexOverflow(const char *file, int line, const char *function, SignedSize index=0, Size size=0) noexcept
Int underflow exception.
Definition: Exception.h:175
IndexUnderflow(const char *file, int line, const char *function, SignedSize index=0, Size size=0) noexcept
Invalid file type exception.
Definition: Exception.h:588
InvalidFileType(const char *file, int line, const char *function, const std::string &filename, const std::string &message="") noexcept
Invalid iterator exception.
Definition: Exception.h:355
InvalidIterator(const char *file, int line, const char *function) noexcept
Exception indicating that an invalid parameter was handed over to an algorithm.
Definition: Exception.h:299
InvalidParameter(const char *file, int line, const char *function, const std::string &message) noexcept
Invalid range exception.
Definition: Exception.h:240
InvalidRange(const char *file, int line, const char *function, const std::string &message) noexcept
InvalidRange(const char *file, int line, const char *function) noexcept
Invalid UInt exception.
Definition: Exception.h:258
InvalidSize(const char *file, int line, const char *function, Size size=0) noexcept
Invalid value exception.
Definition: Exception.h:288
InvalidValue(const char *file, int line, const char *function, const std::string &message, const std::string &value) noexcept
Not implemented exception.
Definition: Exception.h:382
NotImplemented(const char *file, int line, const char *function) noexcept
Null pointer argument is invalid exception.
Definition: Exception.h:342
NullPointer(const char *file, int line, const char *function) noexcept
Out of grid exception.
Definition: Exception.h:444
OutOfGrid(const char *file, int line, const char *function) noexcept
Out of memory exception.
Definition: Exception.h:411
OutOfMemory(const char *file, int line, const char *function, Size size=0) noexcept
Out of range exception.
Definition: Exception.h:273
OutOfRange(const char *file, int line, const char *function) noexcept
Parse Error exception.
Definition: Exception.h:562
ParseError(const char *file, int line, const char *function, const std::string &expression, const std::string &message) noexcept
Postcondition failed exception.
Definition: Exception.h:141
Postcondition(const char *file, int line, const char *function, const std::string &condition) noexcept
Precondition failed exception.
Definition: Exception.h:128
Precondition(const char *file, int line, const char *function, const std::string &condition) noexcept
UInt underflow exception.
Definition: Exception.h:193
SizeUnderflow(const char *file, int line, const char *function, Size size=0) noexcept
SqlOperation failed exception.
Definition: Exception.h:523
SqlOperationFailed(const char *file, int line, const char *function, const std::string &description) noexcept
Exception used if an error occurred while calibrating a dataset.
Definition: Exception.h:650
UnableToCalibrate(const char *file, int line, const char *function, const std::string &name, const std::string &message) noexcept
Unable to create file exception.
Definition: Exception.h:575
UnableToCreateFile(const char *file, int line, const char *function, const std::string &filename, const std::string &message="") noexcept
Exception used if an error occurred while fitting a model to a given dataset.
Definition: Exception.h:636
UnableToFit(const char *file, int line, const char *function, const std::string &name, const std::string &message) noexcept
ptrdiff_t SignedSize
Signed Size type e.g. used as pointer difference.
Definition: Types.h:104
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:97
int exception
(Used by various macros. Indicates a rough category of the exception being caught....
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)