21 instantiations of BuildAbortedException
Microsoft.Build (21)
BackEnd\BuildManager\BuildManager.cs (8)
1020
BuildResultBase buildResult = submission.CompleteResultsWithException(new
BuildAbortedException
());
1883
CompleteSubmissionWithException(submission, resolvedConfiguration!, new
BuildAbortedException
());
1960
var result = new GraphBuildResult(submission.SubmissionId, new
BuildAbortedException
());
2373
throw new
BuildAbortedException
();
2442
throw new
BuildAbortedException
();
3090
shutdownPacket.Exception ?? new
BuildAbortedException
()));
3153
submission.CompleteResultsWithException(new
BuildAbortedException
());
3223
throw new
BuildAbortedException
(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("UnableToCreateNode", response.RequiredNodeType.ToString("G")));
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
309
BuildResult 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)
88
throw new
BuildAbortedException
(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("CouldNotFindMSBuildExe", msbuildLocation));
BackEnd\Components\Communications\NodeProviderOutOfProc.cs (1)
114
throw new
BuildAbortedException
(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("CouldNotConnectToMSBuildExe", ComponentHost.BuildParameters.NodeExeLocation));
BackEnd\Components\RequestBuilder\RequestBuilder.cs (4)
430
throw new
BuildAbortedException
();
468
throw new
BuildAbortedException
();
535
throw new
BuildAbortedException
();
1042
var abortResult = new BuildResult(new BuildRequest(), new
BuildAbortedException
());
BackEnd\Components\RequestBuilder\TargetBuilder.cs (1)
191
throw new
BuildAbortedException
();
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
960
throw new
BuildAbortedException
(taskException.Message, (BuildAbortedException)taskException);
BackEnd\Components\Scheduler\Scheduler.cs (1)
1683
_resultsCache.AddResult(new BuildResult(request.BuildRequest, new
BuildAbortedException
()));
BackEnd\Shared\BuildAbortedException.cs (1)
59
return new
BuildAbortedException
(message, innerException, true /* calledFromDeserialization */);
15 references to BuildAbortedException
Microsoft.Build (13)
BackEnd\BuildManager\BuildManager.cs (2)
2354
catch (
BuildAbortedException
bae)
2434
return !ExceptionHandling.IsCriticalException(e) && !ExceptionHandling.NotExpectedException(e) && e is not
BuildAbortedException
;
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
23
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)
829
if (ex is
BuildAbortedException
)
BackEnd\Components\RequestBuilder\TargetBuilder.cs (1)
16
using BuildAbortedException = Microsoft.Build.Exceptions.
BuildAbortedException
;
BackEnd\Components\RequestBuilder\TaskBuilder.cs (2)
955
else if (type == typeof(
BuildAbortedException
))
960
throw new BuildAbortedException(taskException.Message, (
BuildAbortedException
)taskException);
BackEnd\Components\Scheduler\Scheduler.cs (1)
21
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)
488
catch (
BuildAbortedException
ex)
MSBuild (2)
XMake.cs (2)
1367
catch (
BuildAbortedException
e)
2067
if (exception is
BuildAbortedException
)