Classes | |
class | Base |
Exception base class. More... | |
class | Precondition |
Precondition failed exception. More... | |
class | Postcondition |
Postcondition failed exception. More... | |
class | MissingInformation |
Not all required information provided. More... | |
class | IndexUnderflow |
Int underflow exception. More... | |
class | SizeUnderflow |
UInt underflow exception. More... | |
class | IndexOverflow |
Int overflow exception. More... | |
class | InvalidRange |
Invalid range exception. More... | |
class | InvalidSize |
Invalid UInt exception. More... | |
class | OutOfRange |
Out of range exception. More... | |
class | InvalidValue |
Invalid value exception. More... | |
class | InvalidParameter |
Exception indicating that an invalid parameter was handed over to an algorithm. More... | |
class | ConversionError |
Invalid conversion exception. More... | |
class | IllegalSelfOperation |
Illegal self operation exception. More... | |
class | NullPointer |
Null pointer argument is invalid exception. More... | |
class | InvalidIterator |
Invalid iterator exception. More... | |
class | IncompatibleIterators |
Incompatible iterator exception. More... | |
class | NotImplemented |
Not implemented exception. More... | |
class | IllegalTreeOperation |
Illegal tree operation exception. More... | |
class | OutOfMemory |
Out of memory exception. More... | |
class | BufferOverflow |
Buffer overflow exception. More... | |
class | DivisionByZero |
Division by zero error exception. More... | |
class | OutOfGrid |
Out of grid exception. More... | |
class | FileNotFound |
File not found exception. More... | |
class | FileNotReadable |
File not readable exception. More... | |
class | FileEmpty |
File is empty. More... | |
class | IllegalPosition |
Invalid 3-dimensional position exception. More... | |
class | ParseError |
Parse Error exception. More... | |
class | UnableToCreateFile |
Unable to create file exception. More... | |
class | GlobalExceptionHandler |
OpenMS global exception handler. More... | |
class | ElementNotFound |
Element could not be found exception. More... | |
class | HashMap::IllegalKey |
HashMap illegal key exception. More... | |
class | DBConnection::InvalidQuery |
Exception in case of an invalid Query. More... | |
class | DBConnection::NotConnected |
Exception in case of trying to execute a query without having established a database connection. More... | |
Functions | |
std::ostream & | operator<< (std::ostream &os, const Exception::Base &e) |
std::ostream& OpenMS::operator<< | ( | std::ostream & | os, | |
const Exception::Base & | e | |||
) |
Output operator for exceptions. All OPENMS exceptions can be printed to an arbitrary output stream. Information written contains the exception class, the error message, and the location (file, line number). The following code block can thus be used to catch any OPENMS exceptions and convert them to human readable information:
try { .... // some code which potentially throws an exception } catch (Exception::Exception e) { Log.error() << "caught exception: " << e << std::endl; }
Generated Tue Apr 1 15:36:40 2008 -- using doxygen 1.5.4 | OpenMS / TOPP 1.1 |