commit | 32bce33b95c56e745fa9de5e27367202d647aa8b | [log] [tgz] |
---|---|---|
author | Steve Smokowski <ss835w@att.com> | Fri May 10 16:43:06 2019 +0000 |
committer | Gerrit Code Review <gerrit@onap.org> | Fri May 10 16:43:06 2019 +0000 |
tree | 8aa225e3eeb068b39670bb0fee0057bea435d7f9 | |
parent | 252fe7c546853aaa0b8360cf837f0b653e624494 [diff] | |
parent | 73c4ddaef66358b3019f2e8e4fa4508d505e9389 [diff] |
Merge "Added to write variablles on audit failure"
diff --git a/bpmn/MSOCommonBPMN/src/main/java/org/onap/so/client/exception/BadResponseException.java b/bpmn/MSOCommonBPMN/src/main/java/org/onap/so/client/exception/BadResponseException.java index 333d99e..7b1066d 100644 --- a/bpmn/MSOCommonBPMN/src/main/java/org/onap/so/client/exception/BadResponseException.java +++ b/bpmn/MSOCommonBPMN/src/main/java/org/onap/so/client/exception/BadResponseException.java
@@ -22,10 +22,21 @@ public class BadResponseException extends Exception { + String responseCode; + public BadResponseException() {} public BadResponseException(String message) { super(message); } + public BadResponseException(String message, String responseCode) { + super(message); + this.responseCode = responseCode; + } + + public String getResponseCode() { + return responseCode; + } + }