AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2004.06.28 13:18 "[Tiff] Throwing C++ exceptions from custom error handler", by Eric Fieleke
2004.06.29 14:22 "RE: [Tiff] Throwing C++ exceptions from custom error handler", by Eric Fieleke
2004.07.01 14:04 "RE: [Tiff] Throwing C++ exceptions from custom error handler", by Eric Fieleke
2004.07.03 10:30 "Re: [Tiff] Throwing C++ exceptions from custom error handler", by Andrey Kiselev

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