Responder Developer Guide
HandleException Method


return true if it is expected either timeout or some other recoverable error ie try again, if not false Logs a warn for a recoverable error and error as catastrophic error ie shutdown database connection issue Will log as part of InvokeShutdown.
Syntax
'Declaration
 
Public Function HandleException( _
   ByVal ex As Exception _
) As Boolean
'Usage
 
Dim instance As ExceptionHandler
Dim ex As Exception
Dim value As Boolean
 
value = instance.HandleException(ex)
public bool HandleException( 
   Exception ex
)

Parameters

ex
Example
catch (Exception ex) { session.RollbackTransaction(); if (ExceptionHandler.CanHandleException(ex)) { throw; } else { ExceptionHandler.InvokeShutdown(ex); } }
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

ExceptionHandler Class
ExceptionHandler Members

 

 


Send Comment