C# Class NServiceBus.AcceptanceTesting.SimulatedException

A dummy exception to be used in acceptance tests for easier differentiation from real exceptions.
Inheritance: System.Exception
Show file Open project: Particular/NServiceBus

Public Methods

Method Description
SimulatedException ( ) : System
SimulatedException ( string message ) : System
SimulatedException ( string message, Exception innerException ) : System

Protected Methods

Method Description
SimulatedException ( SerializationInfo info, StreamingContext context ) : System

Method Details

SimulatedException() public method

public SimulatedException ( ) : System
return System

SimulatedException() protected method

protected SimulatedException ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return System

SimulatedException() public method

public SimulatedException ( string message ) : System
message string
return System

SimulatedException() public method

public SimulatedException ( string message, Exception innerException ) : System
message string
innerException System.Exception
return System