Chemical Data Processing Library C++ API - Version 1.1.1
|
Thrown to indicate that some requested operation has failed (e.g. due to unfulfilled preconditions or other errors). More...
#include <Exceptions.hpp>
Public Member Functions | |
OperationFailed (const std::string &msg="") | |
Constructs an OperationFailed object with the error message set to msg. More... | |
virtual | ~OperationFailed () throw () |
Virtual destructor. More... | |
Public Member Functions inherited from CDPL::Base::Exception | |
Exception (const std::string &msg="") | |
Constructs an Exception object with the error message set to msg. More... | |
virtual | ~Exception () throw () |
Virtual destructor. More... | |
const char * | what () const throw () |
Returns the message describing the cause of the exception and/or the location where the error occurred. More... | |
Thrown to indicate that some requested operation has failed (e.g. due to unfulfilled preconditions or other errors).
CDPL::Base::OperationFailed::OperationFailed | ( | const std::string & | msg = "" | ) |
Constructs an OperationFailed
object with the error message set to msg.
msg | A message describing the cause of the exception and/or the location where the error occurred. |
|
virtual |
Virtual destructor.