DevForce Help Reference
Exception Property (ErrorInterceptorArgs)


Gets or sets the exception which will be processed and returned to the client.
Syntax
'Declaration
 
Public Property Exception As Exception
'Usage
 
Dim instance As ErrorInterceptorArgs
Dim value As Exception
 
instance.Exception = value
 
value = instance.Exception
public Exception Exception {get; set;}
Remarks
The exception set here will be returned to the client. You may replace the exception originally thrown with another exception, for example to hide exception details.

Use the Exception.StackTrace and Exception.InnerException as well as the exception type to help identify the exception and where it came from. Most exceptions will be some type of IdeaBlade.EntityModel.EntityServerException and will include the FailureType and OperationType to help identify the error.

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

ErrorInterceptorArgs Class
ErrorInterceptorArgs Members

Send Feedback