protected void checkFeature(String featureId) throws XMLConfigurationException {
  if (!fRecognizedFeatures.contains(featureId)) {
    if (fParentSettings != null) {
      fParentSettings.getFeature(featureId);
    }
 else {
      short type=XMLConfigurationException.NOT_RECOGNIZED;
      throw new XMLConfigurationException(type,featureId);
    }
  }
}

protected void checkFeature ( String featureId ) throws XMLConfigurationException { if ( ! fRecognizedFeatures . contains ( featureId ) ) { if ( fParentSettings != null ) { fParentSettings . getFeature ( featureId ) ; } else { short type = XMLConfigurationException . NOT_RECOGNIZED ; throw new XMLConfigurationException ( type , featureId ) ; } } }
check a feature . if feature is known and supported , this method simply returns . otherwise , the appropriate exception is thrown .
