35 #ifndef OPENMS_CONCEPT_EXCEPTION_H    36 #define OPENMS_CONCEPT_EXCEPTION_H    38 #include <OpenMS/OpenMSConfig.h>   103       BaseException(
const char* file, 
int line, 
const char* 
function) noexcept;
   106       BaseException(
const char* file, 
int line, 
const char* 
function, 
const std::string& name, 
const std::string& message) noexcept;
   120       const char* getName() 
const noexcept;
   123       virtual const char* what() 
const noexcept;
   126       int getLine() 
const noexcept;
   129       const char* getFile() 
const noexcept;
   132       const char* getFunction() 
const noexcept;
   135       const char* getMessage() 
const noexcept;
   138       void setMessage(
const std::string& message) noexcept;
   171       Precondition(
const char* file, 
int line, 
const char* 
function, 
const std::string& condition)  noexcept;
   185       Postcondition(
const char* file, 
int line, 
const char* 
function, 
const std::string& condition) noexcept;
   200       MissingInformation(
const char* file, 
int line, 
const char* 
function, 
const std::string& error_message) noexcept;
   240       SizeUnderflow(
const char* file, 
int line, 
const char* 
function, 
Size size = 0) noexcept;
   276       FailedAPICall(
const char* file, 
int line, 
const char* 
function, 
const std::string& message) noexcept;
   290       InvalidRange(
const char* file, 
int line, 
const char* 
function) noexcept;
   308       InvalidSize(
const char* file, 
int line, 
const char* 
function, 
Size size = 0) noexcept;
   324       OutOfRange(
const char* file, 
int line, 
const char* 
function) noexcept;
   340       InvalidValue(
const char* file, 
int line, 
const char* 
function, 
const std::string& message, 
const std::string& value) noexcept;
   352       InvalidParameter(
const char* file, 
int line, 
const char* 
function, 
const std::string& message) noexcept;
   367       ConversionError(
const char* file, 
int line, 
const char* 
function, 
const std::string& error) noexcept;
   398       NullPointer(
const char* file, 
int line, 
const char* 
function) noexcept;
   412       InvalidIterator(
const char* file, 
int line, 
const char* 
function) noexcept;
   441       NotImplemented(
const char* file, 
int line, 
const char* 
function) noexcept;
   468 #ifdef _MSC_VER // disable some seqan warnings that distract from ours   469 #   pragma warning( push ) // save warning state   470 #   pragma warning( disable : 4275 )   476       OutOfMemory(
const char* file, 
int line, 
const char* 
function, 
Size size = 0) noexcept;
   479 #   pragma warning( pop ) // restore old warning state   490       BufferOverflow(
const char* file, 
int line, 
const char* 
function) noexcept;
   502       DivisionByZero(
const char* file, 
int line, 
const char* 
function) noexcept;
   514       OutOfGrid(
const char* file, 
int line, 
const char* 
function) noexcept;
   528       FileNotFound(
const char* file, 
int line, 
const char* 
function, 
const std::string& filename) noexcept;
   542       FileNotReadable(
const char* file, 
int line, 
const char* 
function, 
const std::string& filename) noexcept;
   556       FileNotWritable(
const char* file, 
int line, 
const char* 
function, 
const std::string& filename) noexcept;
   571       FileNameTooLong(
const char* file, 
int line, 
const char* 
function, 
const std::string& filename, 
int max_length) noexcept;
   585       IOException(
const char* file, 
int line, 
const char* 
function, 
const std::string& filename) noexcept;
   599       FileEmpty(
const char* file, 
int line, 
const char* 
function, 
const std::string& filename) noexcept;
   613       IllegalPosition(
const char* file, 
int line, 
const char* 
function, 
float x, 
float y, 
float z) noexcept;
   627       ParseError(
const char* file, 
int line, 
const char* 
function, 
const std::string& expression, 
const std::string& message) noexcept;
   641       UnableToCreateFile(
const char* file, 
int line, 
const char* 
function, 
const std::string& filename, 
const std::string& message = 
"") noexcept;
   653       IllegalArgument(
const char* file, 
int line, 
const char* 
function, 
const std::string& error_message) noexcept;
   667       ElementNotFound(
const char* file, 
int line, 
const char* 
function, 
const std::string& element) noexcept;
   681       UnableToFit(
const char* file, 
int line, 
const char* 
function, 
const std::string& name, 
const std::string& message) noexcept;
   696       UnableToCalibrate(
const char* file, 
int line, 
const char* 
function, 
const std::string& name, 
const std::string& message) noexcept;
   710       DepletedIDPool(
const char* file, 
int line, 
const char* 
function, 
const std::string& name, 
const std::string& message) noexcept;
   740 #endif // OPENMS_CONCEPT_EXCEPTION_H const char * file_
The source file the exception was thrown in. 
Definition: Exception.h:145
 
Int underflow exception. 
Definition: Exception.h:217
 
File not writable exception. 
Definition: Exception.h:552
 
Incompatible iterator exception. 
Definition: Exception.h:423
 
Element could not be found exception. 
Definition: Exception.h:663
 
Out of range exception. 
Definition: Exception.h:320
 
Int overflow exception. 
Definition: Exception.h:255
 
A call to an external library (other than OpenMS) went wrong. 
Definition: Exception.h:272
 
Invalid 3-dimensional position exception. 
Definition: Exception.h:609
 
ptrdiff_t SignedSize
Signed Size type e.g. used as pointer difference. 
Definition: Types.h:135
 
File not found exception. 
Definition: Exception.h:524
 
Main OpenMS namespace. 
Definition: FeatureDeconvolution.h:47
 
const char * function_
The source file the exception was thrown in. 
Definition: Exception.h:151
 
Precondition failed exception. 
Definition: Exception.h:167
 
int line_
The line number the exception was thrown in. 
Definition: Exception.h:148
 
Exception used if an error occurred while calibrating a dataset. 
Definition: Exception.h:692
 
File is empty. 
Definition: Exception.h:595
 
File not readable exception. 
Definition: Exception.h:538
 
A method or algorithm argument contains illegal values. 
Definition: Exception.h:649
 
Null pointer argument is invalid exception. 
Definition: Exception.h:394
 
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:408
 
Exception indicating that an invalid parameter was handed over to an algorithm. 
Definition: Exception.h:348
 
Exception base class. 
Definition: Exception.h:90
 
Invalid conversion exception. 
Definition: Exception.h:363
 
Division by zero error exception. 
Definition: Exception.h:498
 
Invalid UInt exception. 
Definition: Exception.h:304
 
Out of memory exception. 
Definition: Exception.h:472
 
Invalid value exception. 
Definition: Exception.h:336
 
General IOException. 
Definition: Exception.h:581
 
Illegal self operation exception. 
Definition: Exception.h:379
 
Exception used if no more unique document ID's can be drawn from ID pool. 
Definition: Exception.h:706
 
Invalid range exception. 
Definition: Exception.h:286
 
Exception used if an error occurred while fitting a model to a given dataset. 
Definition: Exception.h:677
 
size_t Size
Size type e.g. used as variable which can hold result of size() 
Definition: Types.h:128
 
UInt underflow exception. 
Definition: Exception.h:236
 
Unable to create file exception. 
Definition: Exception.h:637
 
Postcondition failed exception. 
Definition: Exception.h:181
 
Out of grid exception. 
Definition: Exception.h:510
 
std::string name_
The name of the exception. 
Definition: Exception.h:154
 
Buffer overflow exception. 
Definition: Exception.h:486
 
Not implemented exception. 
Definition: Exception.h:437
 
std::string what_
A more detailed description of the exception's cause. 
Definition: Exception.h:157
 
Illegal tree operation exception. 
Definition: Exception.h:451
 
Parse Error exception. 
Definition: Exception.h:623