summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--aai-resources/src/main/java/org/onap/aai/rest/tools/ModelVersionTransformer.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/aai-resources/src/main/java/org/onap/aai/rest/tools/ModelVersionTransformer.java b/aai-resources/src/main/java/org/onap/aai/rest/tools/ModelVersionTransformer.java
index eeaaf6a..52fe859 100644
--- a/aai-resources/src/main/java/org/onap/aai/rest/tools/ModelVersionTransformer.java
+++ b/aai-resources/src/main/java/org/onap/aai/rest/tools/ModelVersionTransformer.java
@@ -350,8 +350,7 @@ public class ModelVersionTransformer extends RESTAPI {
}
}
} catch (NoSuchElementException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
+ throw new NoSuchElementException();
} catch (Exception e1) {
e1.printStackTrace();
}