CSLA.NET 6.0.0
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
IDataPortalExceptionInspector.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="IDataPortalExceptionInspector.cs" company="Marimer LLC">
3// Copyright (c) Marimer LLC. All rights reserved.
4// Website: https://cslanet.com
5// </copyright>
6// <summary>Implement this interface to check a DataPortalException before returning Exception to the client. </summary>
7//-----------------------------------------------------------------------
8using System;
9
10namespace Csla.Server
11{
18 {
29 void InspectException(Type objectType, object businessObject, object criteria, string methodName, Exception ex);
30 }
31}
Implement this interface to check a DataPortalException before returning Exception to the client.
void InspectException(Type objectType, object businessObject, object criteria, string methodName, Exception ex)
Inspects the exception that occurred during DataPortal call If you want to transform to/return anothe...