16 types derived from BuildExceptionBase
Microsoft.Build (12)
BackEnd\Components\Communications\NodeFailedToLaunchException.cs (1)
23internal class NodeFailedToLaunchException : BuildExceptionBase
BackEnd\Components\ProjectCache\ProjectCacheException.cs (1)
16public sealed class ProjectCacheException : BuildExceptionBase
BackEnd\Components\Scheduler\SchedulerCircularDependencyException.cs (1)
18internal class SchedulerCircularDependencyException : BuildExceptionBase
BackEnd\Components\SdkResolution\SdkResolverException.cs (1)
16public class SdkResolverException : BuildExceptionBase
BackEnd\Shared\BuildAbortedException.cs (1)
26public class BuildAbortedException : BuildExceptionBase
BackEnd\Shared\CircularDependencyException.cs (1)
20public class CircularDependencyException : BuildExceptionBase
Errors\InternalLoggerException.cs (1)
27public sealed class InternalLoggerException : BuildExceptionBase
Errors\InvalidProjectFileException.cs (1)
25public sealed class InvalidProjectFileException : BuildExceptionBase
Errors\InvalidToolsetDefinitionException.cs (1)
21public class InvalidToolsetDefinitionException : BuildExceptionBase
Errors\RegistryException.cs (1)
16internal class RegistryException : BuildExceptionBase
Instance\HostObjectException.cs (1)
12internal sealed class HostObjectException : BuildExceptionBase
Xml\ProjectXmlUtilities.cs (1)
20internal sealed class UnbuildableProjectTypeException : BuildExceptionBase
Microsoft.Build.Framework (4)
BuildException\GenericBuildTransferredException.cs (1)
11internal sealed class GenericBuildTransferredException : BuildExceptionBase
CriticalTaskException.cs (1)
18internal sealed class CriticalTaskException : BuildExceptionBase
InternalErrorException.cs (1)
19internal sealed class InternalErrorException : BuildExceptionBase
LoggerException.cs (1)
25public class LoggerException : BuildExceptionBase
13 references to BuildExceptionBase
Microsoft.Build.Framework (13)
BinaryTranslator.cs (2)
519value = BuildExceptionBase.ReadExceptionFromTranslator(this); 1220BuildExceptionBase.WriteExceptionToTranslator(this, value);
BuildException\BuildExceptionBase.cs (2)
96IDictionary<string, string?>? customKeyedSerializedData = (exception as BuildExceptionBase)?.FlushCustomState(); 144BuildExceptionBase exception = BuildExceptionSerializationHelper.CreateExceptionFactory(serializationType)(message, innerException);
BuildException\BuildExceptionSerializationHelper.cs (9)
14public TypeConstructionTuple(Type type, Func<string, Exception?, BuildExceptionBase> factory) 21public Func<string, Exception?, BuildExceptionBase> Factory { get; } 24private static Dictionary<string, Func<string, Exception?, BuildExceptionBase>>? s_exceptionFactories; 26private static readonly Func<string, Exception?, BuildExceptionBase> s_defaultFactory = 34type.IsSubclassOf(typeof(BuildExceptionBase)); 49var exceptionFactories = new Dictionary<string, Func<string, Exception?, BuildExceptionBase>>(); 54Func<string, Exception?, BuildExceptionBase> exceptionFactory = typeConstructionTuple.Factory; 76internal static Func<string, Exception?, BuildExceptionBase> CreateExceptionFactory(string serializationType) 78Func<string, Exception?, BuildExceptionBase>? factory = null;