File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
tmc-plugin/src/fi/helsinki/cs/tmc/utilities Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -167,6 +167,9 @@ public void run() {
167
167
}
168
168
});
169
169
return result ;
170
+ } catch (ObsoleteClientException | ShowToUserException ex ) {
171
+ ConvenientDialogDisplayer .getDefault ().displayError (ex .getMessage ());
172
+ return null ;
170
173
} catch (TmcCoreException ex ) {
171
174
if (ex instanceof TmcCoreException && (ex .getCause () == null || !(ex .getCause () instanceof ObsoleteClientException ))) {
172
175
SwingUtilities .invokeLater (new Runnable () {
@@ -179,9 +182,6 @@ public void run() {
179
182
}
180
183
ConvenientDialogDisplayer .getDefault ().displayError (ex .getCause ().getMessage ());
181
184
return null ;
182
- } catch (ObsoleteClientException | ShowToUserException ex ) {
183
- ConvenientDialogDisplayer .getDefault ().displayError (ex .getMessage ());
184
- return null ;
185
185
} catch (InterruptedException e ) {
186
186
SwingUtilities .invokeLater (new Runnable () {
187
187
@ Override
You can’t perform that action at this time.
0 commit comments