Class SpiceSharpException
An exception for SpiceSharp-related issues.
Inheritance
SpiceSharpException
Implements
Inherited Members
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. |