summaryrefslogtreecommitdiffstats
path: root/sdc-tosca-parser
diff options
context:
space:
mode:
authorPavel Aharoni <pa0916@att.com>2017-06-06 11:48:14 +0300
committerPavel Aharoni <pa0916@att.com>2017-06-06 11:52:55 +0300
commitfff70fce14ebe7dec3a4d52b7b90cee4414d0562 (patch)
treeae3a456d73cebee5679803f8455a9db0e965f610 /sdc-tosca-parser
parent2aed5c9968c48f665b85569333aa61011e611321 (diff)
[SDC-24] sdnc problems
Change-Id: I990126b83b11ae23090bb22bf0a5d46adf71a61a Signed-off-by: Pavel Aharoni <pa0916@att.com>
Diffstat (limited to 'sdc-tosca-parser')
-rw-r--r--sdc-tosca-parser/src/main/java/org/openecomp/sdc/tosca/parser/impl/SdcToscaParserFactory.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/sdc-tosca-parser/src/main/java/org/openecomp/sdc/tosca/parser/impl/SdcToscaParserFactory.java b/sdc-tosca-parser/src/main/java/org/openecomp/sdc/tosca/parser/impl/SdcToscaParserFactory.java
index 2ddde1f..a3b2391 100644
--- a/sdc-tosca-parser/src/main/java/org/openecomp/sdc/tosca/parser/impl/SdcToscaParserFactory.java
+++ b/sdc-tosca-parser/src/main/java/org/openecomp/sdc/tosca/parser/impl/SdcToscaParserFactory.java
@@ -41,7 +41,13 @@ public class SdcToscaParserFactory {
*
* @param csarPath - the absolute path to CSAR file.
* @return ISdcCsarHelper object.
- * @throws SdcToscaParserException - in case the path or CSAR are invalid.
+ * @throws SdcToscaParserException - in case the path or CSAR are invalid.<br>
+ * Possible codes of SdcToscaParserException:<br>
+ * TP0001 - CSAR file not found.<br>
+ * TP0002 - CSAR file bad format. Check the log for details.<br>
+ * TP0003 - CSAR version is unsupported by the parser.<br>
+ * TP0004 - Unexpected general error.<br>
+ *
*/
public ISdcCsarHelper getSdcCsarHelper(String csarPath) throws SdcToscaParserException {
synchronized (SdcToscaParserFactory.class) {