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] Thu, 13 March 2014 22:23
Devesh Mishra is currently offline Devesh Mishra
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:[Grid] API for Grid Footer, which is similarly usable from both RCP and RAP
Next Topic:Convert Eclipse RCP 3.7 Application to RAP 2.2
Goto Forum:
  


Current Time: Sun Aug 31 06:26:33 EDT 2014

Powered by FUDForum. Page generated in 0.01468 seconds