ThrowError Method

HttpServer.dll

Throw an exception with predefined information

Namespace:  HttpServer.Rendering.Haml.Nodes
Assembly:  HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
protected void ThrowError(
	string reason
)
Visual Basic (Declaration)
Protected Sub ThrowError ( _
	reason As String _
)
Visual C++
protected:
void ThrowError(
	String^ reason
)

Parameters

reason
Type: System..::.String
why the exception was thrown

See Also