aboutsummaryrefslogtreecommitdiffstats
path: root/src/exiv2wrapper.cpp
diff options
context:
space:
mode:
authorOlivier Tilloy <olivier@tilloy.net>2010-01-21 20:03:14 +0100
committerOlivier Tilloy <olivier@tilloy.net>2010-01-21 20:03:14 +0100
commitfa8a416912f3ebc9ddf0f50b56a67dbfcd437a73 (patch)
tree2dbab8730dc0ed76aed21f306c807d86ab8e242a /src/exiv2wrapper.cpp
parent034c4d00395e4b1716d9996133f7b43f409ebcf4 (diff)
downloadpyexiv2-fa8a416912f3ebc9ddf0f50b56a67dbfcd437a73.tar.gz
Removed handling of unused custom exceptions.
Diffstat (limited to 'src/exiv2wrapper.cpp')
-rw-r--r--src/exiv2wrapper.cpp8
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);