Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Unhandled Exceptions(Is there a general 'uncaught' facility?)
Unhandled Exceptions [message #1824243] Fri, 10 April 2020 15:11 Go to next message
Gerhard Kreuzer is currently offline Gerhard KreuzerFriend
Messages: 5
Registered: May 2019
Junior Member
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 17:54 Go to previous message
Alexander Nyssen is currently offline Alexander NyssenFriend
Messages: 243
Registered: July 2009
Location: L√ľnen
Senior Member
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 Oct 20 08:12:54 GMT 2021

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

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

Back to the top