MeVisLab Toolbox Reference
|
Exception class for DCMTree. More...
#include <DCMTree_Exception.h>
Public Member Functions | |
Exception ()=default | |
virtual | ~Exception () |
Exception (const std::string &method) | |
ctor - sets method to the given value | |
Exception (const std::string &method, const std::string &description) | |
ctor sets method to the given value sets description to the given value | |
Exception (const Exception &cause, const std::string &method) | |
sets method and remembers the cause can be used for an exception-traces | |
Exception (const Exception &cause, const std::string &method, const std::string &description) | |
sets method and description remembers the cause can be used for an exception-traces | |
const std::string & | method () const |
get the method value (method where the exception has been thrown) | |
const std::string & | description () const |
get the description of the reason for the exception | |
std::shared_ptr< const Exception > | cause () const |
get the cause of this exception | |
std::string | toString () const |
convert this exception including the traced ones to a string | |
Definition at line 25 of file DCMTree_Exception.h.
|
default |
|
virtual |
DCMTree::Exception::Exception | ( | const std::string & | method | ) |
ctor - sets method to the given value
ctor sets method to the given value sets description to the given value
sets method and remembers the cause can be used for an exception-traces
DCMTree::Exception::Exception | ( | const Exception & | cause, |
const std::string & | method, | ||
const std::string & | description ) |
sets method and description remembers the cause can be used for an exception-traces
get the cause of this exception
const std::string & DCMTree::Exception::description | ( | ) | const |
get the description of the reason for the exception
const std::string & DCMTree::Exception::method | ( | ) | const |
get the method value (method where the exception has been thrown)
std::string DCMTree::Exception::toString | ( | ) | const |
convert this exception including the traced ones to a string