Table of Contents

Class SpecException

Namespace
Motiv
Assembly
Motiv.dll

Represents errors that occur during the execution of a specification.

[Serializable]
public class SpecException : Exception, ISerializable
Inheritance
SpecException
Implements
Inherited Members
Extension Methods

Constructors

SpecException()

Initializes a new instance of the SpecException class.

public SpecException()

SpecException(string)

Initializes a new instance of the SpecException class with a specified error message.

public SpecException(string message)

Parameters

message string

The message that describes the error.

SpecException(string, Exception)

Initializes a new instance of the SpecException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public SpecException(string message, Exception innerException)

Parameters

message string

The error message that explains the reason for the exception.

innerException Exception

The exception that is the cause of the current exception, or a null reference if no inner exception is specified.