ExceptionFormatter BuildConnectorException Method
This method will build the exception detail for a specific Connector. The presentation of the message will be in the following general format: classification + actionableSuggestions + ReportExceptionDetail(exception)
Namespace: Scribe.Core.ConnectorApi.Exceptions
Assembly: Scribe.Core.ConnectorApi (in Scribe.Core.ConnectorApi.dll)
Syntax
public static string BuildConnectorException( string ConnectorName, string classification, string actionableSuggestions, Exception exception, bool reportExceptionDetail = false )
Parameters
ConnectorName
Type: System String
This parameter holds the name of the Connector.
classification
Type: System String
This parameter holds the classification of exception, usually a high level two word description.
actionableSuggestions
Type: System String
This parameter holds the actionable suggestions that the user should perform.
exception
Type: System Exception
This parameter references the exception object that was thrown from the Connector.
reportExceptionDetail (Optional)
Type: System Boolean
This parameter holds whether to report exception detail.
Return Value
Type: String
This returns the exception message to send back to the caller of the Connector.
Examples
Connectivity Problems: Please validate that you have entered in the correct Dynamics CRM url and that your Scribe Online Agent machine has internet connectivity that will allow CRM Online communication. The following exception message was thrown from CRM Connector: Metadata contains a reference that cannot be resolved: 'https://foobar.crm.dynamics.com/XRMServices/2011/Discovery.svc?wsdl'.
See