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 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: Thu Oct 23 10:26:39 GMT 2014

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

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