diff --git a/src/Numerics/Exceptions.cs b/src/Numerics/Exceptions.cs index 3745b9c5f..cf16451fc 100644 --- a/src/Numerics/Exceptions.cs +++ b/src/Numerics/Exceptions.cs @@ -19,11 +19,6 @@ public NonConvergenceException(string message) : base(message) public NonConvergenceException(string message, Exception innerException) : base(message, innerException) { } - - protected NonConvergenceException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) - : base(info, context) - { - } } /// @@ -46,11 +41,6 @@ public NumericalBreakdownException(string message, Exception innerException) : base(message, innerException) { } - - protected NumericalBreakdownException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) - : base(info, context) - { - } } /// @@ -72,11 +62,6 @@ protected NativeInterfaceException(string message, Exception innerException) : base(message, innerException) { } - - protected NativeInterfaceException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) - : base(info, context) - { - } } /// @@ -99,11 +84,6 @@ public InvalidParameterException(int parameter, Exception innerException) : base($"An invalid parameter was passed to a native method, parameter number : {parameter}", innerException) { } - - protected InvalidParameterException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) - : base(info, context) - { - } } /// @@ -121,11 +101,6 @@ public MemoryAllocationException(Exception innerException) : base("Unable to allocate native memory.", innerException) { } - - protected MemoryAllocationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) - : base(info, context) - { - } } /// @@ -148,10 +123,5 @@ public SingularUMatrixException(int element, Exception innerException) : base($"U is singular, and the inversion could not be completed. The {element}-th diagonal element of the factor U is zero.", innerException) { } - - protected SingularUMatrixException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) - : base(info, context) - { - } } }