} catch (Exception e) {
throw new Exception(
"JsonMapperService: Error instantiating "
+ featureType + " for " + featureKey,e);
}
ConfigFeature feature = null;
if (featureKey != null && featureValue != null) {
try {
if (configFeature.equals(SerializationFeature.class)) {
feature = SerializationFeature.valueOf(featureKey);
mapper.configure((SerializationFeature) feature,