5 instantiations of ProjectCacheException
Microsoft.Build (5)
BackEnd\Components\Communications\SerializationContractInitializer.cs (2)
33
new(typeof(ProjectCache.ProjectCacheException), (msg, inner) => new ProjectCache.
ProjectCacheException
(msg, inner)),
36
new(typeof(Experimental.ProjectCache.ProjectCacheException), (msg, inner) => new ProjectCache.
ProjectCacheException
(msg, inner)),
BackEnd\Components\ProjectCache\ProjectCacheException.cs (3)
62
throw new
ProjectCacheException
(message, innerException, hasBeenLoggedByProjectCache: false, errorCode);
73
throw new
ProjectCacheException
(message: message, innerException: null, hasBeenLoggedByProjectCache: true, errorCode: errorCode);
84
throw new
ProjectCacheException
(message: message, innerException: null, hasBeenLoggedByProjectCache: false, errorCode: errorCode);
14 references to ProjectCacheException
Microsoft.Build (10)
BackEnd\Components\Communications\SerializationContractInitializer.cs (1)
33
new(typeof(ProjectCache.
ProjectCacheException
), (msg, inner) => new ProjectCache.ProjectCacheException(msg, inner)),
BackEnd\Components\ProjectCache\ProjectCacheService.cs (9)
296
ProjectCacheException
.ThrowForErrorLoggedInsideTheProjectCache("ProjectCacheInitializationFailed");
437
ProjectCacheException
.ThrowForMSBuildIssueWithTheProjectCache("NoProjectCachePluginFoundInAssembly", pluginAssemblyPath);
643
ProjectCacheException
.ThrowForErrorLoggedInsideTheProjectCache("ProjectCacheQueryFailed", buildRequest.ProjectFullPath);
651
catch (Exception e) when (e is not
ProjectCacheException
)
916
catch (Exception e) when (e is not
ProjectCacheException
)
932
ProjectCacheException
.ThrowForErrorLoggedInsideTheProjectCache("ProjectCacheHandleBuildResultFailed", fileAccessContext.ProjectFullPath);
1000
catch (Exception e) when (e is not
ProjectCacheException
&& e is not Experimental.ProjectCache.ProjectCacheException)
1016
ProjectCacheException
.ThrowForErrorLoggedInsideTheProjectCache("ProjectCacheShutdownFailed");
1035
ProjectCacheException
.ThrowAsUnhandledException(
MSBuild (4)
XMake.cs (4)
1019
catch (Exception e) when (e is
ProjectCacheException
|| e is Microsoft.Build.Experimental.ProjectCache.ProjectCacheException)
1022
ProjectCacheException
pce = e as
ProjectCacheException
;
1701
if (exception is LoggerException or InternalLoggerException or
ProjectCacheException
)