29 #ifndef CDPL_BASE_EXCEPTIONS_HPP
30 #define CDPL_BASE_EXCEPTIONS_HPP
66 const
char* what() const throw();
Definition of the preprocessor macro CDPL_BASE_API.
#define CDPL_BASE_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
Thrown to indicate that a cast or conversion from a given source type to a requested target type is n...
Definition: Base/Exceptions.hpp:191
virtual ~BadCast()
Virtual destructor.
BadCast(const std::string &msg="")
Constructs a BadCast object with the error message set to msg.
Thrown to indicate that some requested calculation has failed.
Definition: Base/Exceptions.hpp:230
CalculationFailed(const std::string &msg="")
Constructs a CalaculationFailed object with the error message set to msg.
virtual ~CalculationFailed()
Virtual destructor.
The root of the CDPL exception hierarchy.
Definition: Base/Exceptions.hpp:48
virtual ~Exception()
Virtual destructor.
Exception(const std::string &msg="")
Constructs an Exception object with the error message set to msg.
Thrown to indicate that an I/O operation has failed because of physical (e.g. broken pipe) or logical...
Definition: Base/Exceptions.hpp:250
IOError(const std::string &msg="")
Constructs an IOError object with the error message set to msg.
virtual ~IOError()
Virtual destructor.
Thrown to indicate that an index is out of range.
Definition: Base/Exceptions.hpp:152
IndexError(const std::string &msg="")
Constructs an IndexError object with the error message set to msg.
virtual ~IndexError()
Virtual destructor.
Thrown to indicate that some requested data item could not be found.
Definition: Base/Exceptions.hpp:171
virtual ~ItemNotFound()
Virtual destructor.
ItemNotFound(const std::string &msg="")
Constructs an ItemNotFound object with the error message set to msg.
Thrown when an operation requires or expects a valid pointer but a null pointer was provided.
Definition: Base/Exceptions.hpp:95
virtual ~NullPointerException()
Virtual destructor.
NullPointerException(const std::string &msg="")
Constructs a NullPointerException object with the error message set to msg.
Thrown to indicate that some requested operation has failed (e.g. due to unfulfilled preconditions or...
Definition: Base/Exceptions.hpp:211
virtual ~OperationFailed()
Virtual destructor.
OperationFailed(const std::string &msg="")
Constructs an OperationFailed object with the error message set to msg.
Thrown to indicate that a value is out of range.
Definition: Base/Exceptions.hpp:114
RangeError(const std::string &msg="")
Constructs a RangeError object with the error message set to msg.
virtual ~RangeError()
Virtual destructor.
Thrown to indicate that the size of a (multidimensional) array is not correct.
Definition: Base/Exceptions.hpp:133
SizeError(const std::string &msg="")
Constructs a SizeError object with the error message set to msg.
virtual ~SizeError()
Virtual destructor.
Thrown to indicate errors caused by some invalid value.
Definition: Base/Exceptions.hpp:76
ValueError(const std::string &msg="")
Constructs a ValueError object with the error message set to msg.
virtual ~ValueError()
Virtual destructor.
The namespace of the Chemical Data Processing Library.