C# Class Concordion.Internal.Commands.ExceptionCatchingDecorator

Inheritance: AbstractCommandDecorator
Show file Open project: concordion/concordion-net Class Usage Examples

Public Methods

Method Description
AddExceptionListener ( IExceptionCaughtListener listener ) : void
ExceptionCatchingDecorator ( ICommand command ) : System
Execute ( CommandCall commandCall, IEvaluator evaluator, IResultRecorder resultRecorder ) : void
RemoveExceptionListener ( IExceptionCaughtListener listener ) : void
Setup ( CommandCall commandCall, IEvaluator evaluator, IResultRecorder resultRecorder ) : void
Verify ( CommandCall commandCall, IEvaluator evaluator, IResultRecorder resultRecorder ) : void

Private Methods

Method Description
AnnounceThrowableCaught ( Element element, Exception exception, string expression ) : void

Method Details

AddExceptionListener() public method

public AddExceptionListener ( IExceptionCaughtListener listener ) : void
listener IExceptionCaughtListener
return void

ExceptionCatchingDecorator() public method

public ExceptionCatchingDecorator ( ICommand command ) : System
command ICommand
return System

Execute() public method

public Execute ( CommandCall commandCall, IEvaluator evaluator, IResultRecorder resultRecorder ) : void
commandCall CommandCall
evaluator IEvaluator
resultRecorder IResultRecorder
return void

RemoveExceptionListener() public method

public RemoveExceptionListener ( IExceptionCaughtListener listener ) : void
listener IExceptionCaughtListener
return void

Setup() public method

public Setup ( CommandCall commandCall, IEvaluator evaluator, IResultRecorder resultRecorder ) : void
commandCall CommandCall
evaluator IEvaluator
resultRecorder IResultRecorder
return void

Verify() public method

public Verify ( CommandCall commandCall, IEvaluator evaluator, IResultRecorder resultRecorder ) : void
commandCall CommandCall
evaluator IEvaluator
resultRecorder IResultRecorder
return void