Click or drag to resize

UtilsTExtensionCatchTException Method

Catches the exception in a specific type

Namespace:  EBP.Api
Assembly:  EBP.Api (in EBP.Api.dll) Version: 1.0.2835.45 (1.0.2835.45)
Syntax
public static TException Catch<TException>(
	Exception exception
)
where TException : IException

Parameters

exception
Type: SystemException
exception to catch

Type Parameters

TException
exception type. Must be a IException descendent

Return Value

Type: TException
The typed exception. If the exception can't be casted, returns null
See Also