35 #ifndef OPENMS_CONCEPT_EXCEPTION_H
36 #define OPENMS_CONCEPT_EXCEPTION_H
38 #include <OpenMS/config.h>
103 BaseException(
const char * file,
int line,
const char *
function)
throw();
106 BaseException(
const char * file,
int line,
const char *
function,
const std::string & name,
const std::string & message)
throw();
120 const char * getName()
const throw();
123 virtual const char * what()
const throw();
126 int getLine()
const throw();
129 const char * getFile()
const throw();
132 const char * getFunction()
const throw();
135 const char * getMessage()
const throw();
138 void setMessage(
const std::string & message)
throw();
171 Precondition(
const char * file,
int line,
const char *
function,
const std::string & condition)
throw();
185 Postcondition(
const char * file,
int line,
const char *
function,
const std::string & condition)
throw();
200 MissingInformation(
const char * file,
int line,
const char *
function,
const std::string & error_message)
throw();
240 SizeUnderflow(
const char * file,
int line,
const char *
function,
Size size = 0)
throw();
276 FailedAPICall(
const char * file,
int line,
const char *
function,
const std::string & message)
throw();
290 InvalidRange(
const char * file,
int line,
const char *
function)
throw();
308 InvalidSize(
const char * file,
int line,
const char *
function,
Size size = 0)
throw();
324 OutOfRange(
const char * file,
int line,
const char *
function)
throw();
340 InvalidValue(
const char * file,
int line,
const char *
function,
const std::string & message,
const std::string & value)
throw();
352 InvalidParameter(
const char * file,
int line,
const char *
function,
const std::string & message)
throw();
367 ConversionError(
const char * file,
int line,
const char *
function,
const std::string & error)
throw();
398 NullPointer(
const char * file,
int line,
const char *
function)
throw();
412 InvalidIterator(
const char * file,
int line,
const char *
function)
throw();
441 NotImplemented(
const char * file,
int line,
const char *
function)
throw();
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)
throw();
479 # pragma warning( pop ) // restore old warning state
490 BufferOverflow(
const char * file,
int line,
const char *
function)
throw();
502 DivisionByZero(
const char * file,
int line,
const char *
function)
throw();
514 OutOfGrid(
const char * file,
int line,
const char *
function)
throw();
528 FileNotFound(
const char * file,
int line,
const char *
function,
const std::string & filename)
throw();
542 FileNotReadable(
const char * file,
int line,
const char *
function,
const std::string & filename)
throw();
556 FileNotWritable(
const char * file,
int line,
const char *
function,
const std::string & filename)
throw();
570 IOException(
const char * file,
int line,
const char *
function,
const std::string & filename)
throw();
584 FileEmpty(
const char * file,
int line,
const char *
function,
const std::string & filename)
throw();
598 IllegalPosition(
const char * file,
int line,
const char *
function,
float x,
float y,
float z)
throw();
612 ParseError(
const char * file,
int line,
const char *
function,
const std::string & expression,
const std::string & message)
throw();
626 UnableToCreateFile(
const char * file,
int line,
const char *
function,
const std::string & filename)
throw();
638 IllegalArgument(
const char * file,
int line,
const char *
function,
const std::string & error_message)
throw();
652 ElementNotFound(
const char * file,
int line,
const char *
function,
const std::string & element)
throw();
666 UnableToFit(
const char * file,
int line,
const char *
function,
const std::string & name,
const std::string & message)
throw();
681 UnableToCalibrate(
const char * file,
int line,
const char *
function,
const std::string & name,
const std::string & message)
throw();
695 DepletedIDPool(
const char * file,
int line,
const char *
function,
const std::string & name,
const std::string & message)
throw();
725 #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:648
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
std::ostream & operator<<(std::ostream &os, const ItraqQuantifier::ItraqQuantifierStats &stats)
Invalid 3-dimensional position exception.
Definition: Exception.h:594
ptrdiff_t SignedSize
Signed Size type e.g. used as pointer difference.
Definition: Types.h:151
File not found exception.
Definition: Exception.h:524
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:677
File is empty.
Definition: Exception.h:580
File not readable exception.
Definition: Exception.h:538
A method or algorithm argument contains illegal values.
Definition: Exception.h:634
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.)
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:566
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:691
Invalid range exception.
Definition: Exception.h:286
Exception used if an error occurred while fitting a model to a given dataset.
Definition: Exception.h:662
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:144
UInt underflow exception.
Definition: Exception.h:236
Unable to create file exception.
Definition: Exception.h:622
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:608