Show / Hide Table of Contents

Class SpiceSharpException

An exception for SpiceSharp-related issues.

Inheritance
object
Exception
SpiceSharpException
AlgebraException
BehaviorsNotFoundException
NoModelException
ParameterNotFoundException
VariableNotFoundException
AmbiguousTypeException
NoEquivalentSubcircuitException
NodeMismatchException
ValidationFailedException
StateNotFoundException
TimestepTooSmallException
TypeNotFoundException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
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 SpiceSharpException : Exception, ISerializable

Constructors

SpiceSharpException()

Initializes a new instance of the SpiceSharpException class.

Declaration
public SpiceSharpException()

SpiceSharpException(SerializationInfo, StreamingContext)

Initializes a new instance of the SpiceSharpException class.

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

The serialization info.

StreamingContext context

The context info.

SpiceSharpException(string)

Initializes a new instance of the SpiceSharpException class.

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

The message that describes the error.

SpiceSharpException(string, Exception)

Initializes a new instance of the SpiceSharpException class.

Declaration
public SpiceSharpException(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.

Implements

ISerializable

Extension Methods

Utility.ThrowIfNull<T>(T, string)

See Also

Exception
In this article
Back to top Generated by DocFX