using System; using System.Runtime.Serialization; /* * NOTE TO CONTRIBUTORS: * * Never use this exception directly. * Use the methods in EmbedIO.Internal.SelfCheck instead. */ namespace EmbedIO { #pragma warning disable SA1642 // Constructor summary documentation should begin with standard text /// /// The exception that is thrown by EmbedIO's internal diagnostic checks to signal a condition /// most probably caused by an error in EmbedIO. /// This API supports the EmbedIO infrastructure and is not intended to be used directly from your code. /// [Serializable] public class EmbedIOInternalErrorException : Exception { /// /// Initializes a new instance of the class. /// This API supports the EmbedIO infrastructure and is not intended to be used directly from your code. /// public EmbedIOInternalErrorException() { } /// /// Initializes a new instance of the class. /// This API supports the EmbedIO infrastructure and is not intended to be used directly from your code. /// /// The message that describes the error. public EmbedIOInternalErrorException(string message) : base(message) { } /// /// Initializes a new instance of the class. /// This API supports the EmbedIO infrastructure and is not intended to be used directly from your code. /// /// The error message that explains the reason for the exception. /// The exception that is the cause of the current exception, /// or if no inner exception is specified. public EmbedIOInternalErrorException(string message, Exception? innerException) : base(message, innerException) { } /// /// Initializes a new instance of the class. /// This API supports the EmbedIO infrastructure and is not intended to be used directly from your code. /// /// The that holds the serialized object data about the exception being thrown. /// The that contains contextual information about the source or destination. protected EmbedIOInternalErrorException(SerializationInfo info, StreamingContext context) : base(info, context) { } } #pragma warning restore SA1642 }