Use checked Exception instead of RuntimeException 37/83637/1
authormark.j.leonard <mark.j.leonard@gmail.com>
Thu, 28 Mar 2019 17:28:41 +0000 (17:28 +0000)
committermark.j.leonard <mark.j.leonard@gmail.com>
Thu, 28 Mar 2019 17:45:59 +0000 (17:45 +0000)
commit5f1b6e4eb654639de6aaae9b7d862eb01b991f55
tree0a88b2cee4c3532e9f9036038c5801967b245f77
parentc1824169b0cfa25101c1efa8118d6b0b085edd15
Use checked Exception instead of RuntimeException

Replace IllegalArgumentException with XmlArtifactGenerationException in
the ArtifactGeneratorToscaParser method processResourceModels().
Add comments to explain the processing.

Change-Id: Icf401ae22ebe26d687fc58c33743582c9c9e576e
Issue-ID: AAI-2281
Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
src/main/java/org/onap/aai/babel/parser/ArtifactGeneratorToscaParser.java
src/test/java/org/onap/aai/babel/parser/TestArtifactGeneratorToscaParser.java