26 instantiations of BuildAbortedException
Microsoft.Build (22)
BackEnd\BuildManager\BuildManager.cs (8)
807
BuildResultBase buildResult = submission.CompleteResultsWithException(new
BuildAbortedException
());
1350
CompleteSubmissionWithException(submission, resolvedConfiguration!, new
BuildAbortedException
());
1424
var result = new GraphBuildResult(submission.SubmissionId, new
BuildAbortedException
());
1822
throw new
BuildAbortedException
();
1887
throw new
BuildAbortedException
();
2513
shutdownPacket.Exception ?? new
BuildAbortedException
()));
2576
submission.CompleteResultsWithException(new
BuildAbortedException
());
2642
throw new
BuildAbortedException
(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("UnableToCreateNode", response.RequiredNodeType.ToString("G")));
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (2)
273
BuildResult result = entry.Result ?? new BuildResult(entry.Request, new
BuildAbortedException
());
904
throw 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\NodeLauncher.cs (1)
55
throw new
BuildAbortedException
(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("CouldNotFindMSBuildExe", msbuildLocation));
BackEnd\Components\Communications\NodeProviderOutOfProc.cs (1)
111
throw new
BuildAbortedException
(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("CouldNotConnectToMSBuildExe", ComponentHost.BuildParameters.NodeExeLocation));
BackEnd\Components\RequestBuilder\RequestBuilder.cs (4)
422
throw new
BuildAbortedException
();
460
throw new
BuildAbortedException
();
527
throw new
BuildAbortedException
();
1019
results[i] = new BuildResult(new BuildRequest(), new
BuildAbortedException
());
BackEnd\Components\RequestBuilder\TargetBuilder.cs (1)
183
throw new
BuildAbortedException
();
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
872
throw 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)
59
return new
BuildAbortedException
(message, innerException, true /* calledFromDeserialization */);
Microsoft.Build.Engine.UnitTests (4)
BackEnd\BuildRequestEngine_Tests.cs (2)
115
BuildResult res = new BuildResult(_entry.Request, new
BuildAbortedException
());
128
BuildResult res = new BuildResult(_entry.Request, new
BuildAbortedException
());
BackEnd\BuildResult_Tests.cs (1)
314
BuildResult result = new BuildResult(request, new
BuildAbortedException
());
BackEnd\TargetResult_Tests.cs (1)
118
TargetResult result = new TargetResult(new TaskItem[] { item }, BuildResultUtilities.GetStopWithErrorResult(new
BuildAbortedException
()));
15 references to BuildAbortedException
Microsoft.Build (13)
BackEnd\BuildManager\BuildManager.cs (2)
1803
catch (
BuildAbortedException
bae)
1880
return !ExceptionHandling.IsCriticalException(e) && !ExceptionHandling.NotExpectedException(e) && e is not
BuildAbortedException
;
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
18
using BuildAbortedException = Microsoft.Build.Exceptions.
BuildAbortedException
;
BackEnd\Components\BuildRequestEngine\BuildRequestEntry.cs (1)
11
using BuildAbortedException = Microsoft.Build.Exceptions.
BuildAbortedException
;
BackEnd\Components\Communications\SerializationContractInitializer.cs (2)
28
new(typeof(
BuildAbortedException
),
BuildAbortedException
.CreateFromRemote),
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
815
if (ex is
BuildAbortedException
)
BackEnd\Components\RequestBuilder\TargetBuilder.cs (1)
15
using BuildAbortedException = Microsoft.Build.Exceptions.
BuildAbortedException
;
BackEnd\Components\RequestBuilder\TaskBuilder.cs (2)
867
else if (type == typeof(
BuildAbortedException
))
872
throw new BuildAbortedException(taskException.Message, (
BuildAbortedException
)taskException);
BackEnd\Components\Scheduler\Scheduler.cs (1)
18
using BuildAbortedException = Microsoft.Build.Exceptions.
BuildAbortedException
;
BackEnd\Shared\BuildAbortedException.cs (1)
57
internal static
BuildAbortedException
CreateFromRemote(string message, Exception innerException)
Instance\TaskFactories\TaskHostTask.cs (1)
332
catch (
BuildAbortedException
)
MSBuild (2)
XMake.cs (2)
1035
catch (
BuildAbortedException
e)
1663
if (exception is
BuildAbortedException
)