X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmException.h;h=fee65d6c748e4a61bfe068c4769cb3f3fd75f789;hb=d3710448e1a6c462d762a10b9f02ca051bf090e3;hp=73710ae0528848b72310deca78366c5accfaea61;hpb=da626417557034a6838c613ed1ccb1acc6864e9a;p=gdcm.git diff --git a/src/gdcmException.h b/src/gdcmException.h index 73710ae0..fee65d6c 100644 --- a/src/gdcmException.h +++ b/src/gdcmException.h @@ -1,29 +1,15 @@ -// gdcmExeption.h - -// gdcmlib Intro: -// * gdcmlib is a library dedicated to reading and writing dicom files. -// * LGPL for the license -// * lightweigth as opposed to CTN or DCMTK which come bundled which try -// to implement the full DICOM standard (networking...). gdcmlib concentrates -// on reading and writing -// * Formats: this lib should be able to read ACR-NEMA v1 and v2, Dicom v3 (as -// stated in part10). [cf dcmtk/dcmdata/docs/datadict.txt] -// * Targeted plateforms: Un*xes and Win32/VC++6.0 -// -// - #ifndef GDCM_EXCEPTION_H #define GDCM_EXCEPTION_H +#include "gdcmCommon.h" #include #include #include -#include "gdcmCommon.h" /** * Any exception thrown in the gdcm library */ -class GDCM_EXPORT gdcmException : public exception { +class GDCM_EXPORT gdcmException : public std::exception { protected: /// error message std::string from; @@ -45,7 +31,7 @@ class GDCM_EXPORT gdcmException : public exception { /** * virtual destructor makes this class dynamic */ - virtual ~gdcmException() { + virtual ~gdcmException() throw() { } /// returns error message