Writes an exception.
Namespace:
Gallio.FrameworkAssembly: 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
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | Thrown if exception is null. |
