aboutsummaryrefslogtreecommitdiffstats
path: root/src/libpyexiv2.hpp
diff options
context:
space:
mode:
authorOlivier Tilloy <olivier@tilloy.net>2007-01-20 20:22:27 +0100
committerOlivier Tilloy <olivier@tilloy.net>2007-01-20 20:22:27 +0100
commit93d41b24803dfeb838ba21adc40937358be651df (patch)
tree46d4aaee282894f307e16dd5fa736c30359db513 /src/libpyexiv2.hpp
parentf036a7eafc6ae33f2983af58da0af88fb755f727 (diff)
downloadpyexiv2-93d41b24803dfeb838ba21adc40937358be651df.tar.gz
Basic handling of Exiv2 exceptions which are now converted to corresponding Python exceptions.
Diffstat (limited to 'src/libpyexiv2.hpp')
-rw-r--r--src/libpyexiv2.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libpyexiv2.hpp b/src/libpyexiv2.hpp
index 1af3134..dff97ce 100644
--- a/src/libpyexiv2.hpp
+++ b/src/libpyexiv2.hpp
@@ -132,6 +132,9 @@ namespace LibPyExiv2
bool _dataRead;
};
+ // Translate an Exiv2 generic exception into a Python exception
+ void translateExiv2Error(Exiv2::Error const& e);
+
} // End of namespace LibPyExiv2
#endif