mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-21 07:55:24 +02:00
chage to the start() method: catching Trowable instead of Exception to handle the case when the error is thrown.
This commit is contained in:
parent
edb9268280
commit
4cdd79f0b2
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ public class ManagedBuilderCorePlugin extends Plugin {
|
||||||
jobManager.beginRule(root, null);
|
jobManager.beginRule(root, null);
|
||||||
|
|
||||||
startResourceChangeHandling();
|
startResourceChangeHandling();
|
||||||
} catch (Exception e) {
|
} catch (Throwable e) {
|
||||||
//either an IllegalArgumentException is thrown by the jobManager.beginRule
|
//either an IllegalArgumentException is thrown by the jobManager.beginRule
|
||||||
//or core exception is thrown by the startResourceChangeHandling()
|
//or core exception is thrown by the startResourceChangeHandling()
|
||||||
//in any case, schedule a job with the root rule
|
//in any case, schedule a job with the root rule
|
||||||
|
|
Loading…
Add table
Reference in a new issue