Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Can't run internal browser in Eclipse 3.7 on AIX 6.1

> I'm catching the error.
> But, before the catch block, I see that message boxes. After I close
> them I reach my catch block. So, I suspect this message boxes are 
> somewhere in SWT library.

No, the dialogs you posted are definitely from Eclipse, not from SWT.

Why don't you try the snippet?

> I think you're not catching the error then.  For an example of this 
> see the snippet at 
http://git.eclipse.org/c/platform/eclipse.platform.swt.git/tree/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet128.java 
.

Maybe you're catching Exception, but you have to explicitly catch 
SWTError, since that's not a subclass of Exception. If that's not the 
problem, then change the Snippet and catch Throwable. If the catch block 
is reached with another kind of Throwable, then this would be a bug in 
SWT.

Markus



Back to the top