public void init(ExceptionHandlerConfig config, ModuleContext module) throws ConfigException {
ParamConfig param = null;
param = config.getParamConfig("bundle");
if (param == null) {
throw new ConfigException("Missing parameter 'bundle'!");
}
bundle = param.getValue();
param = config.getParamConfig("key");
if (param == null) {
throw new ConfigException("Missing parameter 'key'!");
}
key = param.getValue();
dispatch = config.getDispatchConfig(null);
param = config.getParamConfig("target");
if ((param == null) == (dispatch == null)) {
throw new ConfigException("One of 'target' parameter or anonymous <dispatch> child must be given for filter '" + config.toInlineString() + "'");
}
if (param != null) {
target = param.getValue();
}