| synopsis || prev || next |

kdu_error::~kdu_error

virtual ~kdu_error( )

Overrides kdu_message::~kdu_message

[Declared in "../coresys/common/kdu_messaging.h"]

Go to class description.


Synopsis

The destructor terminates the process through exit, unless a custom error handling kdu_message-derived object has been installed using kdu_customize_errors. In the latter case, the error can be caught immediately before the call to exit by overriding kdu_message::flush and checking for the end_of_message=true condition. The override may throw an exception in interactive applications where processing must be able to continue. Because this behaviour is to be expected, You should be careful only to destroy kdu_error objects from a context in which both process exit and exception throwing are reasonable behaviours.


| top || synopsis || prev || next |