Fixed not aborting launching when not having successfully downloaded all libraries

This commit is contained in:
huangyuhui
2017-05-20 19:01:32 +08:00
parent 30ee33cd66
commit 532ff88ea4
3 changed files with 4 additions and 2 deletions

View File

@@ -33,7 +33,9 @@ public class ParallelTask extends Task {
}
@Override
public void executeTask(boolean areDependTasksSucceeded) {
public void executeTask(boolean areDependTasksSucceeded) throws Exception {
if (!areDependTasksSucceeded)
throw new Exception("Tasks failed");
}
@Override