DevForce Help Reference
EntityServerException Class
Members 


Exception thrown by the EntityServer for persistence failures.
Syntax
Remarks
A EntityServerException, or one of its sub-types, can be thrown for a number of error conditions detected while the EntityManager communicates with the IdeaBlade.EntityModel.Server.EntityServer. It can be raised during Connect and Login processing, while fetching data, or saving data via SaveChanges.

The EntityServerException is first raised via the EntityManager.EntityServerError event. If a handler is in place for this event you can choose to handle the error and set the Handled property value to true. If a handler is not found or the Handled property is not set, the EntityServerException is thrown back to the calling code.

The FailureType of the exception indicates the general type of failure condition. The OperationType indicates the type of persistence operation requested when the error occurred. The System.Exception.InnerException will have additional information on the error.

Inheritance Hierarchy

System.Object
   System.Exception
      IdeaBlade.Core.IdeaBladeException
         IdeaBlade.EntityModel.EntityServerException
            IdeaBlade.EntityModel.EntityManagerSaveException
            IdeaBlade.EntityModel.EntityServerConnectionException
            IdeaBlade.EntityModel.LoginException
            IdeaBlade.EntityModel.PersistenceSecurityException
            IdeaBlade.EntityModel.QueryInversionServerException

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EntityServerException Members
IdeaBlade.EntityModel Namespace

Send Feedback