Class MathematicsException
The exception that is thrown when a general error in the mathematics library occurs.
Inheritance
System.Object
System.Exception
MathematicsException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Mars.Numerics
Assembly: Mars.Numerics.dll
Syntax
[Serializable]
public class MathematicsException : Exception, ISerializable
Constructors
| Improve this Doc View SourceMathematicsException()
Initializes a new instance of the MathematicsException class.
Declaration
public MathematicsException()
MathematicsException(SerializationInfo, StreamingContext)
Initializes a new instance of the MathematicsException class with serialized
data.
Declaration
protected MathematicsException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The info parameter is null. |
System.Runtime.Serialization.SerializationException | The class name is null or System.Exception.HResult is zero (0). |
MathematicsException(String, Exception)
Initializes a new instance of the MathematicsException class with a specified
error message and a reference to the inner exception that is the cause of this exception.
Declaration
public MathematicsException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
System.Exception | innerException | The exception that is the cause of the current exception, or null if no inner exception is specified. |
MathematicsException(String)
Initializes a new instance of the MathematicsException class with a specified
error message.
Declaration
public MathematicsException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
Implements
System.Runtime.Serialization.ISerializable