Show / Hide Table of Contents

Class TimestepTooSmallException

Exception thrown when the timestep is too small.

Inheritance
object
Exception
SpiceSharpException
TimestepTooSmallException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: SpiceSharp
Assembly: SpiceSharp.dll
Syntax
[Serializable]
public class TimestepTooSmallException : SpiceSharpException, ISerializable

Constructors

TimestepTooSmallException()

Initializes a new instance of the TimestepTooSmallException class.

Declaration
public TimestepTooSmallException()

TimestepTooSmallException(double, double)

Initializes a new instance of the TimestepTooSmallException class.

Declaration
public TimestepTooSmallException(double timestep, double time)
Parameters
Type Name Description
double timestep

The timestep.

double time

The time point.

TimestepTooSmallException(SerializationInfo, StreamingContext)

Initializes a new instance of the TimestepTooSmallException class.

Declaration
protected TimestepTooSmallException(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info

The serialization info.

StreamingContext context

The streaming context.

TimestepTooSmallException(string)

Initializes a new instance of the TimestepTooSmallException class.

Declaration
public TimestepTooSmallException(string message)
Parameters
Type Name Description
string message

The message that describes the error.

TimestepTooSmallException(string, Exception)

Initializes a new instance of the TimestepTooSmallException class.

Declaration
public TimestepTooSmallException(string message, Exception innerException)
Parameters
Type Name Description
string message

The error message that explains the reason for the exception.

Exception innerException

The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

Properties

Time

Gets the time where the timestep became too small.

Declaration
public virtual double Time { get; }
Property Value
Type Description
double

The time.

Timestep

Gets the timestep that was too small.

Declaration
public virtual double Timestep { get; }
Property Value
Type Description
double

The timestep.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo with the data needed to serialize the target object.

Declaration
[SecurityPermission(SecurityAction.Demand, SerializationFormatter = true)]
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info

The serialization info

StreamingContext context

The streaming context

Overrides
Exception.GetObjectData(SerializationInfo, StreamingContext)

Implements

ISerializable

Extension Methods

Utility.ThrowIfNull<T>(T, string)

See Also

SpiceSharpException
In this article
Back to top Generated by DocFX