C# Class Thinktecture.ServiceModel.Dispatcher.ExceptionMappingErrorHandler

Inheritance: IErrorHandler
Mostra file Open project: ChristianWeyer/Thinktecture.ServiceModel

Public Methods

Method Description
ExceptionMappingErrorHandler ( ExceptionHandlingAttribute attribute ) : System

Initializes a new instance of the ExceptionMappingErrorHandler class.

HandleError ( Exception error ) : bool

Enables error-related processing and returns a value that indicates whether subsequent HandleError implementations are called.

ProvideFault ( Exception exception, System.ServiceModel.Channels.MessageVersion version, Message &fault ) : void

Provides the fault.

Private Methods

Method Description
GetFaultDetail ( MethodInfo method, FaultDescriptionCollection faults, Exception error ) : object

Gets the fault detail.

Method Details

ExceptionMappingErrorHandler() public method

Initializes a new instance of the ExceptionMappingErrorHandler class.
public ExceptionMappingErrorHandler ( ExceptionHandlingAttribute attribute ) : System
attribute ExceptionHandlingAttribute The attribute.
return System

HandleError() public method

Enables error-related processing and returns a value that indicates whether subsequent HandleError implementations are called.
public HandleError ( Exception error ) : bool
error System.Exception The exception thrown during processing.
return bool

ProvideFault() public method

Provides the fault.
public ProvideFault ( Exception exception, System.ServiceModel.Channels.MessageVersion version, Message &fault ) : void
exception System.Exception The exception.
version System.ServiceModel.Channels.MessageVersion The version.
fault Message The fault.
return void