|
OpenMS
2.5.0
|
Go to the documentation of this file.
37 #include <OpenMS/OpenMSConfig.h>
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 const char* what()
const noexcept
override;
125 int getLine()
const noexcept;
128 const char* getFile()
const noexcept;
131 const char* getFunction()
const noexcept;
134 const char* getMessage()
const noexcept;
137 void setMessage(
const std::string& message) noexcept;
170 Precondition(
const char* file,
int line,
const char*
function,
const std::string& condition) noexcept;
184 Postcondition(
const char* file,
int line,
const char*
function,
const std::string& condition) noexcept;
199 MissingInformation(
const char* file,
int line,
const char*
function,
const std::string& error_message) noexcept;
239 SizeUnderflow(
const char* file,
int line,
const char*
function,
Size size = 0) noexcept;
275 FailedAPICall(
const char* file,
int line,
const char*
function,
const std::string& message) noexcept;
289 InvalidRange(
const char* file,
int line,
const char*
function) noexcept;
307 InvalidSize(
const char* file,
int line,
const char*
function,
Size size = 0) noexcept;
323 OutOfRange(
const char* file,
int line,
const char*
function) noexcept;
339 InvalidValue(
const char* file,
int line,
const char*
function,
const std::string& message,
const std::string& value) noexcept;
351 InvalidParameter(
const char* file,
int line,
const char*
function,
const std::string& message) noexcept;
366 ConversionError(
const char* file,
int line,
const char*
function,
const std::string& error) noexcept;
397 NullPointer(
const char* file,
int line,
const char*
function) noexcept;
411 InvalidIterator(
const char* file,
int line,
const char*
function) noexcept;
440 NotImplemented(
const char* file,
int line,
const char*
function) noexcept;
467 #ifdef _MSC_VER // disable some seqan warnings that distract from ours
468 # pragma warning( push ) // save warning state
469 # pragma warning( disable : 4275 )
475 OutOfMemory(
const char* file,
int line,
const char*
function,
Size size = 0) noexcept;
478 # pragma warning( pop ) // restore old warning state
489 BufferOverflow(
const char* file,
int line,
const char*
function) noexcept;
501 DivisionByZero(
const char* file,
int line,
const char*
function) noexcept;
513 OutOfGrid(
const char* file,
int line,
const char*
function) noexcept;
527 FileNotFound(
const char* file,
int line,
const char*
function,
const std::string& filename) noexcept;
541 FileNotReadable(
const char* file,
int line,
const char*
function,
const std::string& filename) noexcept;
555 FileNotWritable(
const char* file,
int line,
const char*
function,
const std::string& filename) noexcept;
570 FileNameTooLong(
const char* file,
int line,
const char*
function,
const std::string& filename,
int max_length) noexcept;
584 IOException(
const char* file,
int line,
const char*
function,
const std::string& filename) 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;
666 ElementNotFound(
const char* file,
int line,
const char*
function,
const std::string& element) noexcept;
680 UnableToFit(
const char* file,
int line,
const char*
function,
const std::string& name,
const std::string& message) noexcept;
695 UnableToCalibrate(
const char* file,
int line,
const char*
function,
const std::string& name,
const std::string& message) noexcept;
709 DepletedIDPool(
const char* file,
int line,
const char*
function,
const std::string& name,
const std::string& message) noexcept;
Postcondition failed exception.
Definition: Exception.h:180
Invalid iterator exception.
Definition: Exception.h:407
UInt underflow exception.
Definition: Exception.h:235
A method or algorithm argument contains illegal values.
Definition: Exception.h:648
int line_
The line number the exception was thrown in.
Definition: Exception.h:147
Invalid UInt exception.
Definition: Exception.h:303
std::string what_
A more detailed description of the exception's cause.
Definition: Exception.h:156
Invalid value exception.
Definition: Exception.h:335
Illegal tree operation exception.
Definition: Exception.h:450
Out of memory exception.
Definition: Exception.h:471
Precondition failed exception.
Definition: Exception.h:166
File not found exception.
Definition: Exception.h:523
Invalid conversion exception.
Definition: Exception.h:362
Invalid range exception.
Definition: Exception.h:285
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
int exception
(Used by various macros. Indicates a rough category of the exception being caught....
Invalid 3-dimensional position exception.
Definition: Exception.h:608
Out of grid exception.
Definition: Exception.h:509
Exception indicating that an invalid parameter was handed over to an algorithm.
Definition: Exception.h:347
Exception used if no more unique document ID's can be drawn from ID pool.
Definition: Exception.h:705
Out of range exception.
Definition: Exception.h:319
Division by zero error exception.
Definition: Exception.h:497
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
Null pointer argument is invalid exception.
Definition: Exception.h:393
A call to an external library (other than OpenMS) went wrong.
Definition: Exception.h:271
Buffer overflow exception.
Definition: Exception.h:485
Unable to create file exception.
Definition: Exception.h:636
const char * function_
The source file the exception was thrown in.
Definition: Exception.h:150
Exception base class.
Definition: Exception.h:89
General IOException.
Definition: Exception.h:580
Not implemented exception.
Definition: Exception.h:436
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)
std::string name_
The name of the exception.
Definition: Exception.h:153
Int overflow exception.
Definition: Exception.h:254
ptrdiff_t SignedSize
Signed Size type e.g. used as pointer difference.
Definition: Types.h:134
Parse Error exception.
Definition: Exception.h:622
Incompatible iterator exception.
Definition: Exception.h:422
File not writable exception.
Definition: Exception.h:551
const char * file_
The source file the exception was thrown in.
Definition: Exception.h:144
Element could not be found exception.
Definition: Exception.h:662
File is empty.
Definition: Exception.h:594
Exception used if an error occurred while fitting a model to a given dataset.
Definition: Exception.h:676
File not readable exception.
Definition: Exception.h:537
Illegal self operation exception.
Definition: Exception.h:378
Exception used if an error occurred while calibrating a dataset.
Definition: Exception.h:691
Int underflow exception.
Definition: Exception.h:216