Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Exception handling in Event handlers(Catching exceptions in Event handlers)
Exception handling in Event handlers [message #1270997] Fri, 14 March 2014 02:23
Devesh Mishra is currently offline Devesh MishraFriend
Messages: 20
Registered: June 2013
Junior Member
I would like to understand the best practice around handling exceptions in the RAP event handlers. What happens if the event handling code does not do a try catch and a runtime exception is thrown. Does it kill the entire page and show a stacktrace in the window ? I guess so. So what are the solutions for us.

1) Add a try catch to each event listener ?
2) do some AOP around ? but how ?

Help is greatly appreciated.
Previous Topic:Convert Eclipse RCP 3.7 Application to RAP 2.2
Next Topic:[ANN] RAP 2.3M2 published
Goto Forum:

Current Time: Wed May 23 19:01:28 GMT 2018

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

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

Back to the top