28 instantiations of BuildAbortedException
Microsoft.Build (23)
BackEnd\BuildManager\BuildManager.cs (8)
874BuildResultBase buildResult = submission.CompleteResultsWithException(new BuildAbortedException()); 1611CompleteSubmissionWithException(submission, resolvedConfiguration!, new BuildAbortedException()); 1685var result = new GraphBuildResult(submission.SubmissionId, new BuildAbortedException()); 2083throw new BuildAbortedException(); 2148throw new BuildAbortedException(); 2785shutdownPacket.Exception ?? new BuildAbortedException())); 2848submission.CompleteResultsWithException(new BuildAbortedException()); 2914throw new BuildAbortedException(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("UnableToCreateNode", response.RequiredNodeType.ToString("G")));
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (2)
294BuildResult result = entry.Result ?? new BuildResult(entry.Request, new BuildAbortedException()); 949throw new BuildAbortedException(e.Message, e);
BackEnd\Components\BuildRequestEngine\BuildRequestEntry.cs (2)
448_outstandingResults[requestEntry.Key] = new BuildResult(requestEntry.Value, new BuildAbortedException()); 458_outstandingResults[request.NodeRequestId] = new BuildResult(request, new BuildAbortedException());
BackEnd\Components\Communications\DetouredNodeLauncher.cs (1)
66throw new BuildAbortedException(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("CouldNotFindMSBuildExe", launchData.MSBuildLocation));
BackEnd\Components\Communications\NodeLauncher.cs (1)
76throw new BuildAbortedException(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("CouldNotFindMSBuildExe", msbuildLocation));
BackEnd\Components\Communications\NodeProviderOutOfProc.cs (1)
115throw new BuildAbortedException(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("CouldNotConnectToMSBuildExe", ComponentHost.BuildParameters.NodeExeLocation));
BackEnd\Components\RequestBuilder\RequestBuilder.cs (4)
425throw new BuildAbortedException(); 463throw new BuildAbortedException(); 530throw new BuildAbortedException(); 1026var abortResult = new BuildResult(new BuildRequest(), new BuildAbortedException());
BackEnd\Components\RequestBuilder\TargetBuilder.cs (1)
188throw new BuildAbortedException();
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
899throw new BuildAbortedException(taskException.Message, (BuildAbortedException)taskException);
BackEnd\Components\Scheduler\Scheduler.cs (1)
1669_resultsCache.AddResult(new BuildResult(request.BuildRequest, new BuildAbortedException()));
BackEnd\Shared\BuildAbortedException.cs (1)
59return new BuildAbortedException(message, innerException, true /* calledFromDeserialization */);
Microsoft.Build.Engine.UnitTests (5)
BackEnd\BuildRequestEngine_Tests.cs (2)
113BuildResult res = new BuildResult(_entry.Request, new BuildAbortedException()); 126BuildResult res = new BuildResult(_entry.Request, new BuildAbortedException());
BackEnd\BuildResult_Tests.cs (2)
314BuildResult result = new BuildResult(request, new BuildAbortedException()); 351BuildResult result = new(request, new BuildAbortedException())
BackEnd\TargetResult_Tests.cs (1)
118TargetResult result = new TargetResult(new TaskItem[] { item }, BuildResultUtilities.GetStopWithErrorResult(new BuildAbortedException()));
15 references to BuildAbortedException
Microsoft.Build (13)
BackEnd\BuildManager\BuildManager.cs (2)
2064catch (BuildAbortedException bae) 2141return !ExceptionHandling.IsCriticalException(e) && !ExceptionHandling.NotExpectedException(e) && e is not BuildAbortedException;
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
19using 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)
818if (ex is BuildAbortedException)
BackEnd\Components\RequestBuilder\TargetBuilder.cs (1)
15using BuildAbortedException = Microsoft.Build.Exceptions.BuildAbortedException;
BackEnd\Components\RequestBuilder\TaskBuilder.cs (2)
894else if (type == typeof(BuildAbortedException)) 899throw new BuildAbortedException(taskException.Message, (BuildAbortedException)taskException);
BackEnd\Components\Scheduler\Scheduler.cs (1)
18using BuildAbortedException = Microsoft.Build.Exceptions.BuildAbortedException;
BackEnd\Shared\BuildAbortedException.cs (1)
57internal static BuildAbortedException CreateFromRemote(string message, Exception innerException)
Instance\TaskFactories\TaskHostTask.cs (1)
403catch (BuildAbortedException ex)
MSBuild (2)
XMake.cs (2)
1038catch (BuildAbortedException e) 1703if (exception is BuildAbortedException)