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;
230 NotSorted(
const char* file,
int line,
const char*
function,
const std::string& message) noexcept;
246 FailedAPICall(
const char* file,
int line,
const char*
function,
const std::string& message) noexcept;
259 InvalidRange(
const char* file,
int line,
const char*
function) noexcept;
260 InvalidRange(
const char* file,
int line,
const char*
function,
const std::string& message) noexcept;
277 InvalidSize(
const char* file,
int line,
const char*
function,
Size size = 0) noexcept;
292 OutOfRange(
const char* file,
int line,
const char*
function) noexcept;
307 InvalidValue(
const char* file,
int line,
const char*
function,
const std::string& message,
const std::string& value) noexcept;
318 InvalidParameter(
const char* file,
int line,
const char*
function,
const std::string& message) noexcept;
332 ConversionError(
const char* file,
int line,
const char*
function,
const std::string& error) noexcept;
361 NullPointer(
const char* file,
int line,
const char*
function) noexcept;
430 OutOfMemory(
const char* file,
int line,
const char*
function,
Size size = 0) noexcept;
463 OutOfGrid(
const char* file,
int line,
const char*
function) noexcept;
476 FileNotFound(
const char* file,
int line,
const char*
function,
const std::string& filename) noexcept;
489 FileNotReadable(
const char* file,
int line,
const char*
function,
const std::string& filename) noexcept;
502 FileNotWritable(
const char* file,
int line,
const char*
function,
const std::string& filename) noexcept;
516 FileNameTooLong(
const char* file,
int line,
const char*
function,
const std::string& filename,
int max_length) noexcept;
529 IOException(
const char* file,
int line,
const char*
function,
const std::string& filename) noexcept;
542 SqlOperationFailed(
const char* file,
int line,
const char*
function,
const std::string& description) noexcept;
555 FileEmpty(
const char* file,
int line,
const char*
function,
const std::string& filename) noexcept;
568 IllegalPosition(
const char* file,
int line,
const char*
function,
float x,
float y,
float z) noexcept;
581 ParseError(
const char* file,
int line,
const char*
function,
const std::string& expression,
const std::string& message) noexcept;
594 UnableToCreateFile(
const char* file,
int line,
const char*
function,
const std::string& filename,
const std::string& message =
"") noexcept;
607 InvalidFileType(
const char* file,
int line,
const char*
function,
const std::string& filename,
const std::string& message =
"") noexcept;
618 IllegalArgument(
const char* file,
int line,
const char*
function,
const std::string& error_message) noexcept;
629 InternalToolError(
const char* file,
int line,
const char*
function,
const std::string& error_message) noexcept;
642 ElementNotFound(
const char* file,
int line,
const char*
function,
const std::string& element) noexcept;
655 UnableToFit(
const char* file,
int line,
const char*
function,
const std::string& name,
const std::string& message) noexcept;
669 UnableToCalibrate(
const char* file,
int line,
const char*
function,
const std::string& name,
const std::string& message) noexcept;
682 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:439
BufferOverflow(const char *file, int line, const char *function) noexcept
Invalid conversion exception.
Definition: Exception.h:330
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:680
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:450
DivisionByZero(const char *file, int line, const char *function) noexcept
Element could not be found exception.
Definition: Exception.h:640
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:244
FailedAPICall(const char *file, int line, const char *function, const std::string &message) noexcept
File is empty.
Definition: Exception.h:553
FileEmpty(const char *file, int line, const char *function, const std::string &filename) noexcept
File not found exception.
Definition: Exception.h:474
FileNotFound(const char *file, int line, const char *function, const std::string &filename) noexcept
File not readable exception.
Definition: Exception.h:487
FileNotReadable(const char *file, int line, const char *function, const std::string &filename) noexcept
File not writable exception.
Definition: Exception.h:500
FileNotWritable(const char *file, int line, const char *function, const std::string &filename) noexcept
General IOException.
Definition: Exception.h:527
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:616
IllegalArgument(const char *file, int line, const char *function, const std::string &error_message) noexcept
Invalid 3-dimensional position exception.
Definition: Exception.h:566
IllegalPosition(const char *file, int line, const char *function, float x, float y, float z) noexcept
Illegal self operation exception.
Definition: Exception.h:345
IllegalSelfOperation(const char *file, int line, const char *function) noexcept
Illegal tree operation exception.
Definition: Exception.h:412
IllegalTreeOperation(const char *file, int line, const char *function) noexcept
Incompatible iterator exception.
Definition: Exception.h:386
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:605
InvalidFileType(const char *file, int line, const char *function, const std::string &filename, const std::string &message="") noexcept
Invalid iterator exception.
Definition: Exception.h:372
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:316
InvalidParameter(const char *file, int line, const char *function, const std::string &message) noexcept
Invalid range exception.
Definition: Exception.h:257
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:275
InvalidSize(const char *file, int line, const char *function, Size size=0) noexcept
Invalid value exception.
Definition: Exception.h:305
InvalidValue(const char *file, int line, const char *function, const std::string &message, const std::string &value) noexcept
Not implemented exception.
Definition: Exception.h:399
NotImplemented(const char *file, int line, const char *function) noexcept
Array not sorted exception.
Definition: Exception.h:228
NotSorted(const char *file, int line, const char *function, const std::string &message) noexcept
Null pointer argument is invalid exception.
Definition: Exception.h:359
NullPointer(const char *file, int line, const char *function) noexcept
Out of grid exception.
Definition: Exception.h:461
OutOfGrid(const char *file, int line, const char *function) noexcept
Out of memory exception.
Definition: Exception.h:428
OutOfMemory(const char *file, int line, const char *function, Size size=0) noexcept
Out of range exception.
Definition: Exception.h:290
OutOfRange(const char *file, int line, const char *function) noexcept
Parse Error exception.
Definition: Exception.h:579
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:540
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:667
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:592
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:653
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)