Exception class for DCMTree.
More...
#include <DCMTree_Exception.h>
Exception class for DCMTree.
Definition at line 25 of file DCMTree_Exception.h.
◆ Exception() [1/5]
DCMTree::Exception::Exception |
( |
| ) |
|
|
default |
◆ ~Exception()
virtual DCMTree::Exception::~Exception |
( |
| ) |
|
|
virtual |
◆ Exception() [2/5]
DCMTree::Exception::Exception |
( |
const std::string & |
method | ) |
|
ctor - sets method to the given value
◆ Exception() [3/5]
DCMTree::Exception::Exception |
( |
const std::string & |
method, |
|
|
const std::string & |
description |
|
) |
| |
ctor sets method to the given value sets description to the given value
◆ Exception() [4/5]
DCMTree::Exception::Exception |
( |
const Exception & |
cause, |
|
|
const std::string & |
method |
|
) |
| |
sets method and remembers the cause can be used for an exception-traces
◆ Exception() [5/5]
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
◆ cause()
std::shared_ptr<const Exception> DCMTree::Exception::cause |
( |
| ) |
const |
get the cause of this exception
◆ description()
const std::string& DCMTree::Exception::description |
( |
| ) |
const |
get the description of the reason for the exception
◆ method()
const std::string& DCMTree::Exception::method |
( |
| ) |
const |
get the method value (method where the exception has been thrown)
◆ toString()
std::string DCMTree::Exception::toString |
( |
| ) |
const |
convert this exception including the traced ones to a string
The documentation for this class was generated from the following file: