STREAMS.getLocalPart());
final SimpleFeatureSource featureSource = (SimpleFeatureSource) ftInfo.getFeatureSource(
null, null);
DecoratingFeatureSource source;
// This source should make the renderer fail when asking for the features
source = new DecoratingFeatureSource(featureSource) {
@Override
public SimpleFeatureCollection getFeatures(Query query) throws IOException {
throw new RuntimeException(renderExceptionToThrow);
// return delegate.getFeatures(query);
}