2004.06.28 13:18 "[Tiff] Throwing C++ exceptions from custom error handler", by Eric Fieleke

2004.06.28 13:18 "[Tiff] Throwing C++ exceptions from custom error handler", by Eric Fieleke

I've written a thin C++ wrapper around 3.6.1 tifflib, primarily because I'd like to coerce it to throw C++ exceptions when library methods fail. What I'm doing is passing a function to TIFFSetErrorHandler that constructs and throws a C++ exception. I have a few questions about this:

Thanks for your help.

Eric Fieleke