C# Class Castle.MonoRail.Framework.Extensions.ExceptionChaining.AbstractExceptionHandler

Provides a basic implementation of IExceptionHandler
Inheritance: IExceptionHandler
Afficher le fichier Open project: nats/castle-1.0.3-mono

Méthodes publiques

Méthode Description
Initialize ( ) : void

Implementors should perform any required initialization

Process ( IRailsEngineContext context ) : void

Implementors should perform the action on the exception. Note that the exception is available in IRailsEngineContext.LastException

Méthodes protégées

Méthode Description
BuildStandardMessage ( IRailsEngineContext context ) : string

Builds the standard message.

InvokeNext ( IRailsEngineContext context ) : void

Invokes the next handler.

Private Methods

Méthode Description
DumpDictionary ( IDictionary dict, String title, StringBuilder message ) : void
DumpDictionary ( NameValueCollection dict, String title, StringBuilder message ) : void
RecursiveDumpException ( Exception exception, StringBuilder message, int nested ) : void

Method Details

BuildStandardMessage() protected méthode

Builds the standard message.
protected BuildStandardMessage ( IRailsEngineContext context ) : string
context IRailsEngineContext The context.
Résultat string

Initialize() public méthode

Implementors should perform any required initialization
public Initialize ( ) : void
Résultat void

InvokeNext() protected méthode

Invokes the next handler.
protected InvokeNext ( IRailsEngineContext context ) : void
context IRailsEngineContext The context.
Résultat void

Process() public abstract méthode

Implementors should perform the action on the exception. Note that the exception is available in IRailsEngineContext.LastException
public abstract Process ( IRailsEngineContext context ) : void
context IRailsEngineContext
Résultat void