IdeaBlade DevForce 2010 Help Reference
OnError Method
See Also  Send Feedback
IdeaBlade.EntityModel.Server Assembly > IdeaBlade.EntityModel.Server Namespace > EntityServerErrorInterceptor Class : OnError Method



args
Called when an exception has been thrown on the server.

Syntax

Visual Basic (Declaration) 
Public Overridable Sub OnError( _
   ByVal args As ErrorInterceptorArgs _
) 
Visual Basic (Usage)Copy Code
Dim instance As EntityServerErrorInterceptor
Dim args As ErrorInterceptorArgs
 
instance.OnError(args)
C# 
public virtual void OnError( 
   ErrorInterceptorArgs args
)
C++/CLI 
public:
virtual void OnError( 
   ErrorInterceptorArgs^ args
) 

Parameters

args

Remarks

Override this method to provide custom processing. Use the information in the ErrorInterceptorArgs to identify the exception, and the Principal to identify the current user.

The default implementation logs the exception to the DevForce debug log.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.