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;
502 FileNotReadable(
const char* file,
int line,
const char*
function,
const std::string& filename) noexcept;
515 FileNotWritable(
const char* file,
int line,
const char*
function,
const std::string& filename) noexcept;
529 FileNameTooLong(
const char* file,
int line,
const char*
function,
const std::string& filename,
int max_length) noexcept;
542 IOException(
const char* file,
int line,
const char*
function,
const std::string& filename) noexcept;
555 SqlOperationFailed(
const char* file,
int line,
const char*
function,
const std::string& description) noexcept;
568 FileEmpty(
const char* file,
int line,
const char*
function,
const std::string& filename) noexcept;
581 IllegalPosition(
const char* file,
int line,
const char*
function,
float x,
float y,
float z) noexcept;
594 ParseError(
const char* file,
int line,
const char*
function,
const std::string& expression,
const std::string& message) noexcept;
607 UnableToCreateFile(
const char* file,
int line,
const char*
function,
const std::string& filename,
const std::string& message =
"") noexcept;
620 InvalidFileType(
const char* file,
int line,
const char*
function,
const std::string& filename,
const std::string& message =
"") noexcept;
631 IllegalArgument(
const char* file,
int line,
const char*
function,
const std::string& error_message) noexcept;
642 InternalToolError(
const char* file,
int line,
const char*
function,
const std::string& error_message) noexcept;
655 ElementNotFound(
const char* file,
int line,
const char*
function,
const std::string& element) noexcept;
668 UnableToFit(
const char* file,
int line,
const char*
function,
const std::string& name,
const std::string& message) noexcept;
682 UnableToCalibrate(
const char* file,
int line,
const char*
function,
const std::string& name,
const std::string& message) noexcept;
695 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:693
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:653
ElementNotFound(const char *file, int line, const char *function, const std::string &element) noexcept
External executable (e.g. comet.exe) not found exception.
Definition: Exception.h:487
ExternalExecutableNotFound(const char *file, int line, const char *function, const std::string &filename) 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:566
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:500
FileNotReadable(const char *file, int line, const char *function, const std::string &filename) noexcept
File not writable exception.
Definition: Exception.h:513
FileNotWritable(const char *file, int line, const char *function, const std::string &filename) noexcept
General IOException.
Definition: Exception.h:540
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:629
IllegalArgument(const char *file, int line, const char *function, const std::string &error_message) noexcept
Invalid 3-dimensional position exception.
Definition: Exception.h:579
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:618
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:592
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:553
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:680
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:605
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:666
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)