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

Provides a basic implementation of IExceptionHandler
Inheritance: IExceptionHandler
ファイルを表示 Open project: nats/castle-1.0.3-mono

Public Methods

Method 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

Protected Methods

Method Description
BuildStandardMessage ( IRailsEngineContext context ) : string

Builds the standard message.

InvokeNext ( IRailsEngineContext context ) : void

Invokes the next handler.

Private Methods

Method 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 method

Builds the standard message.
protected BuildStandardMessage ( IRailsEngineContext context ) : string
context IRailsEngineContext The context.
return string

Initialize() public method

Implementors should perform any required initialization
public Initialize ( ) : void
return void

InvokeNext() protected method

Invokes the next handler.
protected InvokeNext ( IRailsEngineContext context ) : void
context IRailsEngineContext The context.
return void

Process() public abstract method

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
return void