code: protected SimpleFeature asFeature(Object possibleFeature) throws LayerException {
  		if (possibleFeature instanceof SimpleFeature) {
  			return (SimpleFeature) possibleFeature;
  		} else {
  			throw new LayerException(ExceptionCode.INVALID_FEATURE_OBJECT, possibleFeature.getClass().getName());
  		}
  	}
docs: Convert the given feature object to a {@link SimpleFeature}.
  
  @param possibleFeature feature object to convert
  @return converted feature
  @throws LayerException object could not be converted