OSDN Git Service

fix not thrown exception, pass inner exception
authorHannes Janetzek <hannes.janetzek@gmail.com>
Sat, 28 Sep 2013 22:58:40 +0000 (00:58 +0200)
committerHannes Janetzek <hannes.janetzek@gmail.com>
Sat, 28 Sep 2013 22:58:40 +0000 (00:58 +0200)
gdx/src/com/badlogic/gdx/utils/async/AsyncExecutor.java

index 0bd750b..1f9fa13 100644 (file)
@@ -62,7 +62,7 @@ public class AsyncExecutor implements Disposable {
                try {
                        executor.awaitTermination(Long.MAX_VALUE, TimeUnit.SECONDS);
                } catch (InterruptedException e) {
-                       new GdxRuntimeException("Couldn't shutdown loading thread");
+                       throw new GdxRuntimeException("Couldn't shutdown loading thread", e);
                }
        }
 }