#include <exception.h>
Inherits std::exception.
Inherited by AlgorithmFactoryException, AlgorithmNotFoundException, DatasetNotFoundException, FormatNotSupportedException, IndexOutOfBoundsException, InvalidCastException, MetadataNotFoundException, and NullPointerException.
Inheritance diagram for Exception:
Public Member Functions | |
Exception (exception_type type, std::string detail="") | |
Exception (Exception const &src) | |
virtual | ~Exception () throw () |
virtual char const * | what () const throw () |
exception_type | getType () const |
std::string const & | getDetail () const |
Protected Attributes | |
exception_type | type_ |
std::string | detail_ |
Class all exception classes have to inherit
Christian Koerner (christian.koerner@imedgine.org)
Alexander Lex (alexander.lex@imedgine.org)
Marc Streit (marc.streit@imedgine.org)
Martin Reininger (martin.reininger@imedgine.org)
Definition at line 42 of file exception.h.
|
Constructor
Definition at line 18 of file exception.cpp. |
|
Copy Constructor Definition at line 26 of file exception.cpp. |
|
Destructor Definition at line 34 of file exception.cpp. |
|
Getter for the details of the exception
Reimplemented in AlgorithmFactoryException. Definition at line 54 of file exception.cpp. References Exception::detail_. |
|
Getter for the type of the exception
Reimplemented in AlgorithmFactoryException. Definition at line 47 of file exception.cpp. References Exception::type_. |
|
Returns info on what caused the exception
Reimplemented in AlgorithmFactoryException, AlgorithmNotFoundException, DatasetNotFoundException, FormatNotSupportedException, IndexOutOfBoundsException, InvalidCastException, MetadataNotFoundException, and NullPointerException. Definition at line 40 of file exception.cpp. |