ArcFM Engine Developer Guide
MsgErr(Exception) Method


The exception data containing the error message to report.
Inform the user that an unexpected error condition has occurred, and log an the exception.
Syntax
'Declaration
 
Public Overloads Shared Sub MsgErr( _
   ByVal exc As Exception _
) 
'Usage
 
Dim exc As Exception
 
Messaging.MsgErr(exc)
public static void MsgErr( 
   Exception exc
)

Parameters

exc
The exception data containing the error message to report.
Remarks
This static method provides a general utility function to inform the user of a program operation error that has occurred, and log the exception. The Exception class is passed as the parameter and its Message property is displayed as the error message to the user. This leads to simple code in the catch portion of a try/catch block. Use this method to provide a standard look-and-feel for the program. This method both informs the user of the error condition and logs the exception.
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

Messaging Class
Messaging Members
Overload List

 

 


Send Comment