Schlagwort: Exception

org.eclipse.swt.SWTError: No more handles

In our current project we came across the following error, when we opened multiple of our editors in a RCP application: Never seen this one before. Most sources in the internet mentioned something about “not disposing SWT resources”. However this happened when we opened the editor. So a “not disposed” problem was very unlikely. Strange …

weiterlesen »

Java: Handle Exceptions from Threads

In this post I want to describe handling exceptions from threads with the ThreadGroup class and the uncaughtExceptionHandler. First we create a Thread which does useful stuff and throws an exception at some time: public class PfostenThread implements Runnable { @Override public void run() { for (int i = 0; i < 1000000; i++) { …

weiterlesen »