29 instantiations of BuildAbortedException
Microsoft.Build (25)
BackEnd\BuildManager\BuildManager.cs (10)
814BuildResult result = new BuildResult(submission.BuildRequest, new BuildAbortedException()); 824submission.CompleteResults(new GraphBuildResult(submission.SubmissionId, new BuildAbortedException())); 1373CompleteSubmissionWithException(submission, resolvedConfiguration, new BuildAbortedException()); 1413var result = new GraphBuildResult(submission.SubmissionId, new BuildAbortedException()); 1842throw new BuildAbortedException(); 1907throw new BuildAbortedException(); 2533_resultsCache.AddResult(new BuildResult(submission.BuildRequest, shutdownPacket.Exception ?? new BuildAbortedException())); 2597new BuildResult(submission.BuildRequest, new BuildAbortedException()); 2616submission.CompleteResults(new GraphBuildResult(submission.SubmissionId, new BuildAbortedException())); 2662throw new BuildAbortedException(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("UnableToCreateNode", response.RequiredNodeType.ToString("G")));
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (2)
273BuildResult result = entry.Result ?? new BuildResult(entry.Request, new BuildAbortedException()); 901throw new BuildAbortedException(e.Message, e);
BackEnd\Components\BuildRequestEngine\BuildRequestEntry.cs (2)
434_outstandingResults[requestEntry.Key] = new BuildResult(requestEntry.Value, new BuildAbortedException()); 444_outstandingResults[request.NodeRequestId] = new BuildResult(request, new BuildAbortedException());
BackEnd\Components\Communications\DetouredNodeLauncher.cs (1)
67throw new BuildAbortedException(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("CouldNotFindMSBuildExe", msbuildLocation));
BackEnd\Components\Communications\NodeLauncher.cs (1)
55throw new BuildAbortedException(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("CouldNotFindMSBuildExe", msbuildLocation));
BackEnd\Components\Communications\NodeProviderOutOfProc.cs (1)
111throw new BuildAbortedException(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("CouldNotConnectToMSBuildExe", ComponentHost.BuildParameters.NodeExeLocation));
BackEnd\Components\RequestBuilder\RequestBuilder.cs (4)
421throw new BuildAbortedException(); 459throw new BuildAbortedException(); 526throw new BuildAbortedException(); 1018results[i] = new BuildResult(new BuildRequest(), new BuildAbortedException());
BackEnd\Components\RequestBuilder\TargetBuilder.cs (1)
183throw new BuildAbortedException();
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
874throw new BuildAbortedException(taskException.Message, (BuildAbortedException)taskException);
BackEnd\Components\Scheduler\Scheduler.cs (1)
1608_resultsCache.AddResult(new BuildResult(request.BuildRequest, new BuildAbortedException()));
BackEnd\Shared\BuildAbortedException.cs (1)
59return new BuildAbortedException(message, innerException, true /* calledFromDeserialization */);
Microsoft.Build.Engine.UnitTests (4)
BackEnd\BuildRequestEngine_Tests.cs (2)
115BuildResult res = new BuildResult(_entry.Request, new BuildAbortedException()); 128BuildResult res = new BuildResult(_entry.Request, new BuildAbortedException());
BackEnd\BuildResult_Tests.cs (1)
309BuildResult result = new BuildResult(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)
1823catch (BuildAbortedException bae) 1900return !ExceptionHandling.IsCriticalException(e) && !ExceptionHandling.NotExpectedException(e) && e is not BuildAbortedException;
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
18using 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)
814if (ex is BuildAbortedException)
BackEnd\Components\RequestBuilder\TargetBuilder.cs (1)
15using BuildAbortedException = Microsoft.Build.Exceptions.BuildAbortedException;
BackEnd\Components\RequestBuilder\TaskBuilder.cs (2)
869else if (type == typeof(BuildAbortedException)) 874throw 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)
332catch (BuildAbortedException)
MSBuild (2)
XMake.cs (2)
1024catch (BuildAbortedException e) 1652if (exception is BuildAbortedException)