#include <Exception.h>
|
| Exception (std::string const &message) |
| Message string constructor, set the source to Source::Message.
|
|
| Exception (OFCondition const &condition) |
| Condition constructor, set the source to Source::Condition.
|
|
virtual | ~Exception () noexcept |
| Destructor.
|
|
Source | get_source () const |
| Return the exception source.
|
|
OFCondition const & | get_condition () const |
| Return the condition that was used to create this exception.
|
|
virtual const char * | what () const noexcept |
| Return the reason for the exception.
|
|
| Exception (std::string const &message="") |
| Message string constructor.
|
|
|
std::string | _message |
| Message of the exception.
|
|
◆ Source
Source of the Exception: either a message string or an OFCondition.
Enumerator |
---|
Message | |
Condition | |
◆ Exception() [1/2]
odil::dcmtk::Exception::Exception |
( |
std::string const & |
message | ) |
|
◆ Exception() [2/2]
odil::dcmtk::Exception::Exception |
( |
OFCondition const & |
condition | ) |
|
◆ ~Exception()
virtual odil::dcmtk::Exception::~Exception |
( |
| ) |
|
|
virtualnoexcept |
◆ get_condition()
OFCondition const & odil::dcmtk::Exception::get_condition |
( |
| ) |
const |
Return the condition that was used to create this exception.
If the source is not Source::Condition, throw an exception.
◆ get_source()
Source odil::dcmtk::Exception::get_source |
( |
| ) |
const |
Return the exception source.
◆ what()
virtual const char * odil::dcmtk::Exception::what |
( |
| ) |
const |
|
virtualnoexcept |
The documentation for this class was generated from the following file:
- /build/odil-wxbkF2/odil-0.12.2/src/odil/dcmtk/Exception.h