summaryrefslogtreecommitdiffstats
path: root/sdc-tosca-parser/src
diff options
context:
space:
mode:
Diffstat (limited to 'sdc-tosca-parser/src')
-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) {