9 #ifndef _9e106372_aca6_4551_a591_95695eb00e4c
10 #define _9e106372_aca6_4551_a591_95695eb00e4c
12 #include <dcmtk/config/osconfig.h>
13 #include <dcmtk/ofstd/ofcond.h>
31 enum class Source { Message, Condition };
34 Exception(std::string
const & message);
37 Exception(OFCondition
const & condition);
40 virtual ~Exception() noexcept;
43 Source get_source() const;
50 OFCondition const & get_condition() const;
58 virtual const
char* what() const noexcept;
61 OFCondition _condition;
68 #endif // _9e106372_aca6_4551_a591_95695eb00e4c