diff options
author | Olivier Tilloy <olivier@tilloy.net> | 2010-01-21 20:03:14 +0100 |
---|---|---|
committer | Olivier Tilloy <olivier@tilloy.net> | 2010-01-21 20:03:14 +0100 |
commit | fa8a416912f3ebc9ddf0f50b56a67dbfcd437a73 (patch) | |
tree | 2dbab8730dc0ed76aed21f306c807d86ab8e242a /src/exiv2wrapper.cpp | |
parent | 034c4d00395e4b1716d9996133f7b43f409ebcf4 (diff) | |
download | pyexiv2-fa8a416912f3ebc9ddf0f50b56a67dbfcd437a73.tar.gz |
Removed handling of unused custom exceptions.
Diffstat (limited to 'src/exiv2wrapper.cpp')
-rw-r--r-- | src/exiv2wrapper.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/exiv2wrapper.cpp b/src/exiv2wrapper.cpp index 8782b23..b2a1585 100644 --- a/src/exiv2wrapper.cpp +++ b/src/exiv2wrapper.cpp @@ -33,8 +33,6 @@ #define METADATA_NOT_READ 101 #define NON_REPEATABLE 102 #define KEY_NOT_FOUND 103 -#define THUMB_ACCESS 104 -#define NO_THUMBNAIL 105 // Custom macros #define CHECK_METADATA_READ \ @@ -808,12 +806,6 @@ void translateExiv2Error(Exiv2::Error const& error) case KEY_NOT_FOUND: PyErr_SetString(PyExc_KeyError, "Tag not set"); break; - case THUMB_ACCESS: - PyErr_SetString(PyExc_IOError, "Cannot access image thumbnail"); - break; - case NO_THUMBNAIL: - PyErr_SetString(PyExc_IOError, "The EXIF data does not contain a thumbnail"); - break; default: PyErr_SetString(PyExc_RuntimeError, message); |