Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » How disable output exception in browser?
How disable output exception in browser? [message #1035958] Sun, 07 April 2013 14:37 Go to next message
Dmitry Dukhov is currently offline Dmitry Dukhov
Messages: 10
Registered: February 2013
Junior Member
How disable output exception in browser?
Re: How disable output exception in browser? [message #1037141 is a reply to message #1035958] Tue, 09 April 2013 03:55 Go to previous message
Ralf Sternberg is currently offline Ralf Sternberg
Messages: 1290
Registered: July 2009
Senior Member

> How disable output exception in browser?

Use an exception handler [1]:

application.setExceptionHandler( new ExceptionHandler() {
@Override
public void handleException( Throwable exception ) {
...
}
});

Ralf

[1] http://eclipse.org/rap/noteworthy/2.1/?build=M1

--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:Session timeout causes 403
Next Topic:How to make a canvas widget to be transparent?
Goto Forum:
  


Current Time: Wed Aug 20 04:56:56 EDT 2014

Powered by FUDForum. Page generated in 0.02165 seconds