Class MathematicsException
The exception that is thrown when a general error in the mathematics library occurs.
Inheritance
Exception
MathematicsException
Namespace: Mars.Numerics
Assembly: Mars.Numerics.dll
Syntax
public class MathematicsException : Exception
Constructors
MathematicsException()
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 |
---|---|---|
SerializationInfo | info |
The |
StreamingContext | context |
The |
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. |
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. |
Exception | innerException | The exception that is the cause of the current exception, or langword_csharp_null if no inner exception is specified. |