Table of Contents

Interface IExceptionInterceptor

Namespace
LinqToDB.Interceptors
Assembly
linq2db.dll
public interface IExceptionInterceptor : IInterceptor
Extension Methods

Methods

ProcessException(ExceptionEventData, Exception)

Event, triggered when an exception is thrown while executing a database command/query.

void ProcessException(ExceptionEventData eventData, Exception exception)

Parameters

eventData ExceptionEventData
exception Exception

The thrown Exception.

Remarks

Implementors should throw their own exceptions directly in this method. If this method returns normally, then the existing exception will be thrown.