Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SimpleLoggingAdvice.GetExceptionMessage Method

Gets the exception message.

[Visual Basic]
Protected Overridable Sub GetExceptionMessage( _
   ByVal invocation As IMethodInvocation, _
   ByVal e As Exception, _
   ByVal executionTimeSpan As TimeSpan, _
   ByVal idString As String _
)
[C#]
protected virtual string GetExceptionMessage(
   IMethodInvocation invocation,
   Exception e,
   TimeSpan executionTimeSpan,
   string idString
);

Parameters

invocation
The method invocation.
e
The thown exception.
executionTimeSpan
The execution time span.
idString
The id string.

Return Value

The exception log message.

See Also

SimpleLoggingAdvice Class | Spring.Aspects.Logging Namespace