9 #ifndef _b9607695_cb3b_4188_8caa_bc8bb051ef28
10 #define _b9607695_cb3b_4188_8caa_bc8bb051ef28
15 #include <dcmtk/config/osconfig.h>
16 #include <dcmtk/ofstd/ofcond.h>
46 virtual const
char*
what() const throw();
61 OFCondition _condition;
66 #endif // _b9607695_cb3b_4188_8caa_bc8bb051ef28
Definition: Association.cpp:22
virtual ~Exception()
Destructor.
Definition: Exception.cpp:34
Source get_source() const
Return the exception source.
Definition: Exception.cpp:55
virtual const char * what() const
Return the reason for the exception.
Definition: Exception.cpp:41
Base class for all DIMSE messages.
Definition: Message.h:72
Base class for dcmtkpp exceptions.
Definition: Exception.h:22
Source
Source of the Exception: either a message string or an OFCondition.
Definition: Exception.h:29
Exception(std::string const &message)
Message string constructor, set the source to Source::Message.
Definition: Exception.cpp:20
OFCondition const & get_condition() const
Return the condition that was used to create this exception.
Definition: Exception.cpp:62