Skip to main content



      Home
Home » Eclipse Projects » GEF » Unhandled Exceptions(Is there a general 'uncaught' facility?)
Unhandled Exceptions [message #1824243] Fri, 10 April 2020 11:11 Go to next message
Eclipse UserFriend
Hi there,

according to my observation, unexpected (and therefore unhandled) exceptions in handlers (e.g. GEF OnClickHandler and alike, or raw Java FX EventHandlers) are silently swallowed somewhere.
Is there a general facility in GEF (and/or Java FX) to get notified about these problems (at least while development)?

Thanks in advance!
Gerhard
Re: Unhandled Exceptions [message #1824251 is a reply to message #1824243] Fri, 10 April 2020 13:54 Go to previous message
Eclipse UserFriend
There is. Take a look at HistorizingDomain. In its constructor a handler is registered for uncaught exceptions. You should be able to register your own by using the same mechanism (and replacing the default one).
Previous Topic:Memory Leak issue in GEF Module
Next Topic:Legacy Zest Tycho/Maven build error
Goto Forum:
  


Current Time: Wed Apr 23 02:10:59 EDT 2025

Powered by FUDForum. Page generated in 0.03215 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top