12 #include <OpenMS/OpenMSConfig.h>
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;
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;
260 InvalidRange(
const char*
file,
int line,
const char*
function,
const std::string& message) noexcept;
278 InvalidSize(
const char*
file,
int line,
const char*
function,
Size size,
const std::string& message) noexcept;
308 InvalidValue(
const char*
file,
int line,
const char*
function,
const std::string& message,
const std::string& value) noexcept;
477 FileNotFound(
const char*
file,
int line,
const char*
function,
const std::string& filename) noexcept;
530 FileNameTooLong(
const char*
file,
int line,
const char*
function,
const std::string& filename,
int max_length) noexcept;
543 IOException(
const char*
file,
int line,
const char*
function,
const std::string& filename) noexcept;
569 FileEmpty(
const char*
file,
int line,
const char*
function,
const std::string& filename) noexcept;
595 ParseError(
const char*
file,
int line,
const char*
function,
const std::string& expression,
const std::string& message) noexcept;
608 UnableToCreateFile(
const char*
file,
int line,
const char*
function,
const std::string& filename,
const std::string& message =
"") noexcept;
621 InvalidFileType(
const char*
file,
int line,
const char*
function,
const std::string& filename,
const std::string& message =
"") noexcept;
632 IllegalArgument(
const char*
file,
int line,
const char*
function,
const std::string& error_message) noexcept;
669 UnableToFit(
const char*
file,
int line,
const char*
function,
const std::string& name,
const std::string& message) noexcept;
683 UnableToCalibrate(
const char*
file,
int line,
const char*
function,
const std::string& name,
const std::string& message) noexcept;
696 DepletedIDPool(
const char*
file,
int line,
const char*
function,
const std::string& name,
const std::string& message) noexcept;
subpage TOPP_TargetedFileConverter Converts targeted feature or consensus feature files subpage TOPP_FileInfo Shows basic information about the file
Definition: TOPP.doxygen:44
Exception base class.
Definition: Exception.h:63
BaseException() noexcept
Default constructor.
Buffer overflow exception.
Definition: Exception.h:440
BufferOverflow(const char *file, int line, const char *function) noexcept
Invalid conversion exception.
Definition: Exception.h:331
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:694
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:451
DivisionByZero(const char *file, int line, const char *function) noexcept
Element could not be found exception.
Definition: Exception.h:654
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:488
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:567
FileEmpty(const char *file, int line, const char *function, const std::string &filename) noexcept
File not found exception.
Definition: Exception.h:475
FileNotFound(const char *file, int line, const char *function, const std::string &filename) noexcept
File not readable exception.
Definition: Exception.h:501
FileNotReadable(const char *file, int line, const char *function, const std::string &filename) noexcept
File not writable exception.
Definition: Exception.h:514
FileNotWritable(const char *file, int line, const char *function, const std::string &filename) noexcept
General IOException.
Definition: Exception.h:541
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:630
IllegalArgument(const char *file, int line, const char *function, const std::string &error_message) noexcept
Invalid 3-dimensional position exception.
Definition: Exception.h:580
IllegalPosition(const char *file, int line, const char *function, float x, float y, float z) noexcept
Illegal self operation exception.
Definition: Exception.h:346
IllegalSelfOperation(const char *file, int line, const char *function) noexcept
Illegal tree operation exception.
Definition: Exception.h:413
IllegalTreeOperation(const char *file, int line, const char *function) noexcept
Incompatible iterator exception.
Definition: Exception.h:387
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:619
InvalidFileType(const char *file, int line, const char *function, const std::string &filename, const std::string &message="") noexcept
Invalid iterator exception.
Definition: Exception.h:373
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:317
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:276
InvalidSize(const char *file, int line, const char *function, Size size, const std::string &message) noexcept
Invalid value exception.
Definition: Exception.h:306
InvalidValue(const char *file, int line, const char *function, const std::string &message, const std::string &value) noexcept
Not implemented exception.
Definition: Exception.h:400
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:360
NullPointer(const char *file, int line, const char *function) noexcept
Out of grid exception.
Definition: Exception.h:462
OutOfGrid(const char *file, int line, const char *function) noexcept
Out of memory exception.
Definition: Exception.h:429
OutOfMemory(const char *file, int line, const char *function, Size size=0) noexcept
Out of range exception.
Definition: Exception.h:291
OutOfRange(const char *file, int line, const char *function) noexcept
Parse Error exception.
Definition: Exception.h:593
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:554
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:681
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:606
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:667
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)