Skip to content

Commit

Permalink
implemented requested changes
Browse files Browse the repository at this point in the history
removed catch of NotYetSupportedException from TemplateSetConfigurationReader validate process
  • Loading branch information
jan-vcapgemini committed Apr 3, 2023
1 parent b421049 commit a25b371
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

import com.devonfw.cobigen.api.constants.ConfigurationConstants;
import com.devonfw.cobigen.api.exception.InvalidConfigurationException;
import com.devonfw.cobigen.api.exception.NotYetSupportedException;
import com.devonfw.cobigen.api.util.ExceptionUtil;
import com.devonfw.cobigen.api.util.JvmUtil;
import com.devonfw.cobigen.impl.config.constant.MavenMetadata;
Expand Down Expand Up @@ -204,11 +203,7 @@ public void readConfiguration(Path templateSetFile) {
"The required 'version' attribute of node \"templateSetConfiguration\" has not been set");
} else {
VersionValidator validator = new VersionValidator(Type.TEMPLATE_SET_CONFIGURATION, MavenMetadata.VERSION);
try {
validator.validate(configVersion.floatValue());
} catch (NotYetSupportedException e) {
// TODO
}
validator.validate(configVersion.floatValue());
}
} else {
throw new InvalidConfigurationException(this.templateSetFile,
Expand Down

0 comments on commit a25b371

Please sign in to comment.