summaryrefslogtreecommitdiffstats
path: root/csarvalidation/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'csarvalidation/src/main')
-rw-r--r--csarvalidation/src/main/java/org/onap/cvc/csar/cc/sol004/VTPValidateCSARR816745.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/csarvalidation/src/main/java/org/onap/cvc/csar/cc/sol004/VTPValidateCSARR816745.java b/csarvalidation/src/main/java/org/onap/cvc/csar/cc/sol004/VTPValidateCSARR816745.java
index f1bbffc..a929418 100644
--- a/csarvalidation/src/main/java/org/onap/cvc/csar/cc/sol004/VTPValidateCSARR816745.java
+++ b/csarvalidation/src/main/java/org/onap/cvc/csar/cc/sol004/VTPValidateCSARR816745.java
@@ -24,6 +24,7 @@ import org.onap.validation.yaml.error.YamlDocumentValidationError;
import org.onap.validation.yaml.exception.YamlProcessingException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
+import org.yaml.snakeyaml.error.YAMLException;
import java.nio.file.Path;
import java.util.List;
@@ -83,7 +84,7 @@ public class VTPValidateCSARR816745 extends VTPValidateCSARBase {
List<YamlDocumentValidationError> validationErrors =
new YamlFileValidator().validateYamlFileWithSchema(rootPath+artifactPath);
addAllErrorsReportedByVaidator(artifactPath, validationErrors);
- } catch (YamlProcessingException e) {
+ } catch (YamlProcessingException | YAMLException e) {
LOGGER.error("Failed to load PM_Dictionary file.", e);
errors.add(new CSARPmDictionaryLoadingError(
artifactPath,