Skip to content

Commit 66a2b40

Browse files
Merge pull request #149 from praveenadg/develop
#128 - Adding intuit_tid to FMSException
2 parents 202582a + 5a120f5 commit 66a2b40

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

ipp-v3-java-devkit/src/main/java/com/intuit/ipp/exception/FMSException.java

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ public class FMSException extends Exception {
3939
* variable throwable
4040
*/
4141
private Throwable throwable;
42+
43+
/**
44+
* variable intuit_tid
45+
*/
46+
private String intuit_tid;
4247

4348
/**
4449
* Constructor FMSException
@@ -79,7 +84,11 @@ public FMSException(String errorMessage, Throwable throwable) {
7984
super(errorMessage, throwable);
8085
this.throwable = throwable;
8186
}
82-
87+
public FMSException(String errorMessage, Throwable throwable, String intuit_tid) {
88+
super(errorMessage, throwable);
89+
this.throwable = throwable;
90+
this.intuit_tid = intuit_tid;
91+
}
8392
/**
8493
* Method to get the list of errors received from server.
8594
*
@@ -97,6 +106,18 @@ public List<Error> getErrorList() {
97106
public Throwable getThrowable() {
98107
return this.throwable;
99108
}
109+
110+
/**
111+
* Method to get the intuit_tid
112+
* @return intuit_tid
113+
*/
114+
public String getIntuit_tid() {
115+
return intuit_tid;
116+
}
117+
118+
public void setIntuit_tid(String intuit_tid) {
119+
this.intuit_tid = intuit_tid;
120+
}
100121

101122
/**
102123
* Method to get the error codes received from server as String message

0 commit comments

Comments
 (0)