ExceptionFormatter Class

This class contains different formats for exception logging.

Inheritance Hierarchy

System Object

  Scribe.Core.ConnectorApi.Exceptions ExceptionFormatter

Namespace:  Scribe.Core.ConnectorApi.Exceptions

Assembly:  Scribe.Core.ConnectorApi (in Scribe.Core.ConnectorApi.dll)

Syntax

public   class   ExceptionFormatter

The ExceptionFormatter type exposes the following members.

Constructors

 

Name

Description

Public method

ExceptionFormatter

Initializes a new instance of the ExceptionFormatter class

Methods

 

Name

Description

Public method Static member

BuildActionableException

This method will build an exception detail for actionable messages. The presentation of the message will be in the following general format: actionableSuggestions[newline] introductionMessage[newline]exception(defaults to message only)

Public method Static member

BuildConnectorException

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)

Public method

Equals

Determines whether the specified Object is equal to the current Object.

(Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.

(Inherited from Object.)

Public method

GetHashCode

Serves as a hash function for a particular type.

(Inherited from Object.)

Public method

GetType

Gets the Type of the current instance.

(Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)

Public method Static member

ReportExceptionDetail

This method will return a formatted report exception details. This will walk any inner exceptions and add them to the details.

Public method

ToString

Returns a string that represents the current object.

(Inherited from Object.)

See

Scribe.Core.ConnectorApi.Exceptions Namespace