|
From: Ken G. <kg...@sp...> - 2003-08-26 01:35:06
|
The docs say > If you want to have some other error handler you can do it by writing > your own error handler class. Your class should implement the > interface com.babeldoc.core.pipeline.IPipelineStageErrorHandler. You > will also need to provide your new error handler Java class to the > pipeline configuration. That last sentence needs to be expanded. It took looking at the code for me to figure it out. So looking at the PipelineStage code, I would need to set errorHandler on each pipeline stage in order to override the default error handler. I'd like to be able to change one setting and have it be the default error handler. Right now, there is an entry in the core service/query.properties PipelineStageErrorHandler.default=com.babeldoc.core.pipeline.DefaultPipelineStageErrorHandler It looks like this setting is ignored (see PipelineStage.getErrorHandler().) Am I missing something? How do I do this? Is there some code that needs to get written? I'm glad to do it. Ken |