Writes an exception.

Namespace:  Gallio.Framework
Assembly:  Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)

Syntax

C#
public static void WriteException(
	ExceptionData exception
)
Visual Basic (Declaration)
Public Shared Sub WriteException ( _
	exception As ExceptionData _
)

Parameters

exception
Type: Gallio.Common.Diagnostics..::.ExceptionData
The exception data to write.

Remarks

This is a convenience method that forwards the request to the current default log stream writer as returned by the Default property.

The exception will not be terminated by a new line.

Exceptions

ExceptionCondition
System..::.ArgumentNullExceptionThrown if exception is null.

See Also