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