We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1777766 commit b4c708fCopy full SHA for b4c708f
tmc-plugin/src/fi/helsinki/cs/tmc/utilities/BgTask.java
@@ -128,14 +128,14 @@ public void run() {
128
}
129
});
130
return null;
131
- } catch (final Exception ex) {
+ } catch (final Throwable ex) {
132
SwingUtilities.invokeLater(new Runnable() {
133
@Override
134
public void run() {
135
listener.bgTaskFailed(ex);
136
137
138
- throw ExceptionUtils.toRuntimeException(ex);
+ throw new RuntimeException(ex);
139
} finally {
140
synchronized (cancelLock) {
141
executingThread = null;
0 commit comments