37 #include <OpenMS/OpenMSConfig.h> 90 public std::runtime_error
102 BaseException(
const char* file,
int line,
const char*
function) noexcept;
105 BaseException(
const char* file,
int line,
const char*
function,
const std::string& name,
const std::string& message) noexcept;
119 const char* getName()
const noexcept;
122 int getLine()
const noexcept;
125 const char* getFile()
const noexcept;
128 const char* getFunction()
const noexcept;
131 const char* getMessage()
const noexcept;
161 Precondition(
const char* file,
int line,
const char*
function,
const std::string& condition) noexcept;
175 Postcondition(
const char* file,
int line,
const char*
function,
const std::string& condition) noexcept;
190 MissingInformation(
const char* file,
int line,
const char*
function,
const std::string& error_message) noexcept;
230 SizeUnderflow(
const char* file,
int line,
const char*
function,
Size size = 0) noexcept;
266 FailedAPICall(
const char* file,
int line,
const char*
function,
const std::string& message) noexcept;
280 InvalidRange(
const char* file,
int line,
const char*
function) noexcept;
281 InvalidRange(
const char* file,
int line,
const char*
function,
const std::string& message) noexcept;
299 InvalidSize(
const char* file,
int line,
const char*
function,
Size size = 0) noexcept;
315 OutOfRange(
const char* file,
int line,
const char*
function) noexcept;
331 InvalidValue(
const char* file,
int line,
const char*
function,
const std::string& message,
const std::string& value) noexcept;
343 InvalidParameter(
const char* file,
int line,
const char*
function,
const std::string& message) noexcept;
358 ConversionError(
const char* file,
int line,
const char*
function,
const std::string& error) noexcept;
389 NullPointer(
const char* file,
int line,
const char*
function) noexcept;
403 InvalidIterator(
const char* file,
int line,
const char*
function) noexcept;
432 NotImplemented(
const char* file,
int line,
const char*
function) noexcept;
463 OutOfMemory(
const char* file,
int line,
const char*
function,
Size size = 0) noexcept;
475 BufferOverflow(
const char* file,
int line,
const char*
function) noexcept;
487 DivisionByZero(
const char* file,
int line,
const char*
function) noexcept;
499 OutOfGrid(
const char* file,
int line,
const char*
function) noexcept;
513 FileNotFound(
const char* file,
int line,
const char*
function,
const std::string& filename) noexcept;
527 FileNotReadable(
const char* file,
int line,
const char*
function,
const std::string& filename) noexcept;
541 FileNotWritable(
const char* file,
int line,
const char*
function,
const std::string& filename) noexcept;
556 FileNameTooLong(
const char* file,
int line,
const char*
function,
const std::string& filename,
int max_length) noexcept;
570 IOException(
const char* file,
int line,
const char*
function,
const std::string& filename) noexcept;
584 SqlOperationFailed(
const char* file,
int line,
const char*
function,
const std::string& description) noexcept;
598 FileEmpty(
const char* file,
int line,
const char*
function,
const std::string& filename) noexcept;
612 IllegalPosition(
const char* file,
int line,
const char*
function,
float x,
float y,
float z) noexcept;
626 ParseError(
const char* file,
int line,
const char*
function,
const std::string& expression,
const std::string& message) noexcept;
640 UnableToCreateFile(
const char* file,
int line,
const char*
function,
const std::string& filename,
const std::string& message =
"") noexcept;
652 IllegalArgument(
const char* file,
int line,
const char*
function,
const std::string& error_message) noexcept;
664 InternalToolError(
const char* file,
int line,
const char*
function,
const std::string& error_message) noexcept;
678 ElementNotFound(
const char* file,
int line,
const char*
function,
const std::string& element) noexcept;
692 UnableToFit(
const char* file,
int line,
const char*
function,
const std::string& name,
const std::string& message) noexcept;
707 UnableToCalibrate(
const char* file,
int line,
const char*
function,
const std::string& name,
const std::string& message) noexcept;
721 DepletedIDPool(
const char* file,
int line,
const char*
function,
const std::string& name,
const std::string& message) noexcept;
const char * file_
The source file the exception was thrown in.
Definition: Exception.h:138
Int underflow exception.
Definition: Exception.h:207
File not writable exception.
Definition: Exception.h:537
Incompatible iterator exception.
Definition: Exception.h:414
Element could not be found exception.
Definition: Exception.h:674
Out of range exception.
Definition: Exception.h:311
Int overflow exception.
Definition: Exception.h:245
A call to an external library (other than OpenMS) went wrong.
Definition: Exception.h:262
Invalid 3-dimensional position exception.
Definition: Exception.h:608
ptrdiff_t SignedSize
Signed Size type e.g. used as pointer difference.
Definition: Types.h:134
File not found exception.
Definition: Exception.h:509
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
const char * function_
The source file the exception was thrown in.
Definition: Exception.h:144
Precondition failed exception.
Definition: Exception.h:157
int line_
The line number the exception was thrown in.
Definition: Exception.h:141
Exception used if an error occurred while calibrating a dataset.
Definition: Exception.h:703
File is empty.
Definition: Exception.h:594
File not readable exception.
Definition: Exception.h:523
A method or algorithm argument contains illegal values.
Definition: Exception.h:648
Null pointer argument is invalid exception.
Definition: Exception.h:385
int exception
(Used by various macros. Indicates a rough category of the exception being caught.)
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)
Invalid iterator exception.
Definition: Exception.h:399
Exception indicating that an invalid parameter was handed over to an algorithm.
Definition: Exception.h:339
Exception base class.
Definition: Exception.h:89
SqlOperation failed exception.
Definition: Exception.h:580
Invalid conversion exception.
Definition: Exception.h:354
Division by zero error exception.
Definition: Exception.h:483
Invalid UInt exception.
Definition: Exception.h:295
Out of memory exception.
Definition: Exception.h:459
Invalid value exception.
Definition: Exception.h:327
General IOException.
Definition: Exception.h:566
Illegal self operation exception.
Definition: Exception.h:370
Exception used if no more unique document ID's can be drawn from ID pool.
Definition: Exception.h:717
Invalid range exception.
Definition: Exception.h:276
Exception used if an error occurred while fitting a model to a given dataset.
Definition: Exception.h:688
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
UInt underflow exception.
Definition: Exception.h:226
Unable to create file exception.
Definition: Exception.h:636
Postcondition failed exception.
Definition: Exception.h:171
Out of grid exception.
Definition: Exception.h:495
std::string name_
The name of the exception.
Definition: Exception.h:147
Buffer overflow exception.
Definition: Exception.h:471
Not implemented exception.
Definition: Exception.h:428
Illegal tree operation exception.
Definition: Exception.h:442
Parse Error exception.
Definition: Exception.h:622