GetParser Method
Retrieves the parser that is used to interrogate an exception object.
Syntax
IExceptionParserProvider GetParser(
System.Exception ex
)Function GetParser( _
ByVal ex As System.Exception _
) As IExceptionParserProviderParameters
| Name | Description |
|---|---|
| ex | The exception to retrieve a parser for. |
Return Value
The provider used to parse ex. This should never be null because the framework has a built in parser registered with the base class. That parser will be used as a last resort.
Remarks
If a parser is not associated with the specified exception, then the framework will check if a parser is associated with the exceptions base class.