|
MeVisLab Toolbox Reference
|
Exception class for DCMTree. More...
#include <DCMTree_Exception.h>
Public Member Functions | |
| Exception ()=default | |
| virtual | ~Exception () |
| Exception (const std::string &method) | |
| Constructor - sets method to the given value. | |
| Exception (const std::string &method, const std::string &description) | |
Constructor Sets method to the given value. | |
| Exception (const Exception &cause, const std::string &method) | |
Sets method and remembers the cause. | |
| Exception (const Exception &cause, const std::string &method, const std::string &description) | |
Sets method and description. | |
| const std::string & | method () const |
| Returns the method value (i.e., method where the exception has been thrown). | |
| const std::string & | description () const |
| Returns the description of the reason for the exception. | |
| std::shared_ptr< const Exception > | cause () const |
| Returns the cause of this exception. | |
| std::string | toString () const |
| Converts this exception including the traced ones to a string. | |
Definition at line 25 of file DCMTree_Exception.h.
|
default |
Referenced by Exception(), and Exception().
|
virtual |
| DCMTree::Exception::Exception | ( | const std::string & | method | ) |
Constructor - sets method to the given value.
References method().
| DCMTree::Exception::Exception | ( | const std::string & | method, |
| const std::string & | description ) |
Constructor Sets method to the given value.
Sets description to the given value.
References description(), and method().
| DCMTree::Exception::Exception | ( | const Exception & | cause, |
| const std::string & | method ) |
Sets method and remembers the cause.
Can be used for an exception trace.
References cause(), Exception(), and method().
| 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 trace.
References cause(), description(), Exception(), and method().
| std::shared_ptr< const Exception > DCMTree::Exception::cause | ( | ) | const |
Returns the cause of this exception.
Referenced by Exception(), and Exception().
| const std::string & DCMTree::Exception::description | ( | ) | const |
Returns the description of the reason for the exception.
Referenced by Exception(), and Exception().
| const std::string & DCMTree::Exception::method | ( | ) | const |
Returns the method value (i.e., method where the exception has been thrown).
Referenced by Exception(), Exception(), Exception(), and Exception().
| std::string DCMTree::Exception::toString | ( | ) | const |
Converts this exception including the traced ones to a string.