|
From: | Paul Schneider |
Subject: | Re: [Openexr-devel] Exceptions in the DLL |
Date: | Sun, 21 Nov 2004 17:16:28 -0800 |
Yep.C++ exceptions are OpenEXR's mechanism for reporting errors. If you're using the library inside an application with a different error handling mechanism, you should put a try/catch around calls you make to the library, and map the exceptions into your own error code/class. The OpenEXR library should only throw exception classes that inherit from Iex::Exception, which itself inherits from std::exception.
Or, are you talking about the C interfaces? Those shouldn't be propagating C++ exceptions, obviously. Let me know if that's the case.
- Paul On Nov 21, 2004, at 9:00 AM, Paul Nolan wrote:
Is IlmImf.dll throwing exceptions back to the caller? Thanks, Paul Nolan, CEO Idruna Software Inc. http://www.idruna.com _______________________________________________ Openexr-devel mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/openexr-devel
[Prev in Thread] | Current Thread | [Next in Thread] |