21 instantiations of BuildAbortedException
Microsoft.Build (21)
BackEnd\BuildManager\BuildManager.cs (8)
897BuildResultBase buildResult = submission.CompleteResultsWithException(new BuildAbortedException()); 1634CompleteSubmissionWithException(submission, resolvedConfiguration!, new BuildAbortedException()); 1708var result = new GraphBuildResult(submission.SubmissionId, new BuildAbortedException()); 2106throw new BuildAbortedException(); 2171throw new BuildAbortedException(); 2803shutdownPacket.Exception ?? new BuildAbortedException())); 2866submission.CompleteResultsWithException(new BuildAbortedException()); 2932throw new BuildAbortedException(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("UnableToCreateNode", response.RequiredNodeType.ToString("G")));
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
309BuildResult result = entry.Result ?? new BuildResult(entry.Request, new BuildAbortedException());
BackEnd\Components\BuildRequestEngine\BuildRequestEntry.cs (2)
444_outstandingResults[requestEntry.Key] = new BuildResult(requestEntry.Value, new BuildAbortedException()); 454_outstandingResults[request.NodeRequestId] = new BuildResult(request, new BuildAbortedException());
BackEnd\Components\Communications\NodeLauncher.cs (1)
88throw new BuildAbortedException(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("CouldNotFindMSBuildExe", msbuildLocation));
BackEnd\Components\Communications\NodeProviderOutOfProc.cs (1)
114throw new BuildAbortedException(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("CouldNotConnectToMSBuildExe", ComponentHost.BuildParameters.NodeExeLocation));
BackEnd\Components\RequestBuilder\RequestBuilder.cs (4)
426throw new BuildAbortedException(); 464throw new BuildAbortedException(); 531throw new BuildAbortedException(); 1038var abortResult = new BuildResult(new BuildRequest(), new BuildAbortedException());
BackEnd\Components\RequestBuilder\TargetBuilder.cs (1)
188throw new BuildAbortedException();
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
911throw new BuildAbortedException(taskException.Message, (BuildAbortedException)taskException);
BackEnd\Components\Scheduler\Scheduler.cs (1)
1682_resultsCache.AddResult(new BuildResult(request.BuildRequest, new BuildAbortedException()));
BackEnd\Shared\BuildAbortedException.cs (1)
59return new BuildAbortedException(message, innerException, true /* calledFromDeserialization */);
15 references to BuildAbortedException
Microsoft.Build (13)
BackEnd\BuildManager\BuildManager.cs (2)
2087catch (BuildAbortedException bae) 2164return !ExceptionHandling.IsCriticalException(e) && !ExceptionHandling.NotExpectedException(e) && e is not BuildAbortedException;
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
23using BuildAbortedException = Microsoft.Build.Exceptions.BuildAbortedException;
BackEnd\Components\BuildRequestEngine\BuildRequestEntry.cs (1)
11using BuildAbortedException = Microsoft.Build.Exceptions.BuildAbortedException;
BackEnd\Components\Communications\SerializationContractInitializer.cs (2)
28new(typeof(BuildAbortedException), BuildAbortedException.CreateFromRemote),
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
825if (ex is BuildAbortedException)
BackEnd\Components\RequestBuilder\TargetBuilder.cs (1)
15using BuildAbortedException = Microsoft.Build.Exceptions.BuildAbortedException;
BackEnd\Components\RequestBuilder\TaskBuilder.cs (2)
906else if (type == typeof(BuildAbortedException)) 911throw new BuildAbortedException(taskException.Message, (BuildAbortedException)taskException);
BackEnd\Components\Scheduler\Scheduler.cs (1)
20using BuildAbortedException = Microsoft.Build.Exceptions.BuildAbortedException;
BackEnd\Shared\BuildAbortedException.cs (1)
57internal static BuildAbortedException CreateFromRemote(string message, Exception innerException)
Instance\TaskFactories\TaskHostTask.cs (1)
428catch (BuildAbortedException ex)
MSBuild (2)
XMake.cs (2)
1195catch (BuildAbortedException e) 1858if (exception is BuildAbortedException)