43 #ifndef SVK_DCMTK_EXCEPTION_H
44 #define SVK_DCMTK_EXCEPTION_H
49 #include <dcmtk/dcmdata/dctk.h>
64 runtime_error(
"WARNING: DICOM Runtime Error: " + msg +
" tag: " + DcmTag(tag).toString().c_str() +
" "+
65 ((DcmTag)tag).getTagName()) {
86 #pragma warning( disable : 4290 )
93 extern void handleError(OFCondition error,
string message =
"",
const DcmTagKey *ptag = NULL) throw (svkTagNotFound, svkDicomRunTimeError);
svkDicomRunTimeError(const string &msg)
Definition: svkDcmtkException.h:62
Definition: svkDcmtkException.h:80
Definition: svkDcmtkException.h:71
Definition: svkDcmtkException.h:59
svkIncompatibleVR(const string &msg)
Definition: svkDcmtkException.h:83
svkTagNotFound(const string &msg)
Definition: svkDcmtkException.h:74
void handleError(OFCondition error, string message="", const DcmTagKey *ptag=NULL)
Definition: svkDcmtkException.cc:50
svkTagNotFound(const DcmTagKey &tag, const string &msg)
Definition: svkDcmtkException.h:75
svkDicomRunTimeError(const DcmTagKey &tag, const string &msg)
Definition: svkDcmtkException.h:63