C# Class Crowbar.AssertException

Inheritance: System.Exception
Show file Open project: mrydengren/crowbar

Public Methods

Method Description
AssertException ( string message ) : System

Creates an instance of AssertException.

AssertException ( string message, Exception innerException ) : System

Creates an instance of AssertException.

Create ( ClientResponse response, string message ) : AssertException

Creates an instance of AssertException.

Create ( ClientResponse response, string message, Exception innerException ) : AssertException

Creates an instance of AssertException.

Protected Methods

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

Creates an instance of AssertException.

Private Methods

Method Description
ExtendMessage ( ClientResponse response, string message ) : string

Method Details

AssertException() protected method

Creates an instance of AssertException.
protected AssertException ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo The serialization info.
context System.Runtime.Serialization.StreamingContext The streaming context.
return System

AssertException() public method

Creates an instance of AssertException.
public AssertException ( string message ) : System
message string The message that describes the error.
return System

AssertException() public method

Creates an instance of AssertException.
public AssertException ( string message, Exception innerException ) : System
message string The message that describes the error.
innerException System.Exception The inner exception.
return System

Create() public static method

Creates an instance of AssertException.
public static Create ( ClientResponse response, string message ) : AssertException
response ClientResponse The client response.
message string The message that describes the error.
return AssertException

Create() public static method

Creates an instance of AssertException.
public static Create ( ClientResponse response, string message, Exception innerException ) : AssertException
response ClientResponse The client response.
message string The message that describes the error.
innerException System.Exception The inner exception.
return AssertException