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

Title: Re: [platform-swt-dev] Can't run internal browser in Eclipse 3.7 on AIX 6.1
Oh, It's my fault. Now I see, this is Eclipse messages.
I found IDEWorkbenchErrorHandler and can extend it to handle messages and don't show them.

Thank you all for the help.

Regards,
Vitaliy

23.11.12 13:26, Markus Keller написав(ла):

> 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

_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev



Back to the top