blob: 6cd5872147adc44c7adfe1fed53c57552e7ca62a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
package org.openecomp.sdc.toscaparser.api.common;
public class JToscaException extends Exception {
private static final long serialVersionUID = 1L;
private String code;
public JToscaException(String message, String code) {
super(message);
this.code = code;
}
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
//JT1001 - Meta file missing
//JT1002 - Invalid yaml content
//JT1003 - Entry-Definition not defined in meta file
//JT1004 - Entry-Definition file missing
//JT1005 - General Error
//JT1006 - General Error/Path not valid
}
|