<PackageReference Include="Castle.Windsor" Version="3.2.0" />

KernelException

public class KernelException : Exception
Exception threw by Kernel operations that failed for some reason.
using Castle.Core.Internal; using System; using System.Runtime.Serialization; namespace Castle.MicroKernel { [Serializable] public class KernelException : Exception { public KernelException(string message) : base(message) { this.SetUp(); } public KernelException(string message, Exception innerException) : base(message, innerException) { this.SetUp(); } public KernelException(SerializationInfo info, StreamingContext context) : base(info, context) { this.SetUp(); } } }