X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmException.h;h=03d74fb996c98465bf357d8a275d0a1f32992ac1;hb=9f643008e8a960617fb30ed9dcd454612657e5d2;hp=73710ae0528848b72310deca78366c5accfaea61;hpb=da626417557034a6838c613ed1ccb1acc6864e9a;p=gdcm.git diff --git a/src/gdcmException.h b/src/gdcmException.h index 73710ae0..03d74fb9 100644 --- a/src/gdcmException.h +++ b/src/gdcmException.h @@ -1,17 +1,3 @@ -// 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 @@ -23,7 +9,7 @@ /** * 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