Re: What does this error mean?
- From: Paul Pogonyshev <pogonyshev gmx net>
- To: gtkmm-list gnome org
- Cc: Johan Kohler <kohlerj ukzn ac za>, Murray Cumming <murrayc murrayc com>, "gtkmm-list gnome org" <gtkmm-list gnome org>
- Subject: Re: What does this error mean?
- Date: Fri, 11 Aug 2006 22:06:44 +0300
Murray Cumming wrote:
> gtkmm doesn't allow signal handlers to throw exceptions, so it warns you
> when this happens. This is because it would have to pass through a C
> function call, and they can't throw exceptions. It's a good idea to catch
> your exceptions earlier anyway.
One small correction: you can register a custom handler with
Glib::add_exception_handler(). Useful for printing some diagnostic messages
from exceptions etc. It is probably meaningless to handle std::bad_alloc
here, but if you have a custom exception type...
Paul
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]