Class ExceptionInterceptor
- Namespace
- LinqToDB.Interceptors
- Assembly
- linq2db.dll
public class ExceptionInterceptor : IExceptionInterceptor, IInterceptor
- Inheritance
-
objectExceptionInterceptor
- Implements
- Extension Methods
Methods
ProcessException(ExceptionEventData, Exception)
Event, triggered when an exception is thrown while executing a database command/query.
public virtual void ProcessException(ExceptionEventData eventData, Exception exception)
Parameters
eventDataExceptionEventDataexceptionExceptionThe 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.