|
From: Stefan K. <ste...@co...> - 2003-06-23 19:51:34
|
Hello,
We am using babeldoc in a document transformation project in a J2EE
environment.
We would like to send eMails in case of exceptions during PipelineStage
processing. This should be the default ErrorHandler for all PipelineStages
we are running. Unfortunately, the method getErrorHandler() in PipelineStage
is private. So, we are forced to configure our ErrorHandler for alle
PipelineStages otherwise DefaultPipelineStageErrorHandler is always
returned. Can you make this method "protected" ?
Or, even better: provide a factory method for the DefaultErrorHandler:
protected IPipelineStageErrorHandler createDefaultErrorHandler() { return
new DefaultPipelineStageErrorHandler() ; }
Then we can reuse the configuration part in getErrorHandler().
Thanks,
Stefan
|