Class NUnitException
Thrown when an assertion failed. Here to preserve the inner exception and hence its stack trace.
public class NUnitException : Exception, ISerializable
- Inheritance
-
NUnitException
- Implements
- Inherited Members
Constructors
NUnitException()
Initializes a new instance of the NUnitException class.
public NUnitException()
NUnitException(SerializationInfo, StreamingContext)
Serialization Constructor
protected NUnitException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfocontext
StreamingContext
NUnitException(string)
Initializes a new instance of the NUnitException class.
public NUnitException(string message)
Parameters
message
stringThe error message that explains the reason for the exception
NUnitException(string, Exception)
Initializes a new instance of the NUnitException class.
public NUnitException(string message, Exception inner)