Code Review
/
holmes
/
common.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Change the Exception from Generic to Specific
[holmes/common.git]
/
holmes-actions
/
src
/
main
/
java
/
org
/
onap
/
holmes
/
common
/
utils
/
HttpsUtils.java
diff --git
a/holmes-actions/src/main/java/org/onap/holmes/common/utils/HttpsUtils.java
b/holmes-actions/src/main/java/org/onap/holmes/common/utils/HttpsUtils.java
index
41db955
..
a2c4852
100644
(file)
--- a/
holmes-actions/src/main/java/org/onap/holmes/common/utils/HttpsUtils.java
+++ b/
holmes-actions/src/main/java/org/onap/holmes/common/utils/HttpsUtils.java
@@
-200,7
+200,7
@@
public class HttpsUtils {
}
private static HttpResponse executeRequest(CloseableHttpClient httpClient, HttpRequestBase httpRequest)
}
private static HttpResponse executeRequest(CloseableHttpClient httpClient, HttpRequestBase httpRequest)
- throws Exception {
+ throws
CorrelationException, IO
Exception {
HttpResponse httpResponse;
try {
httpResponse = httpClient.execute(httpRequest);
HttpResponse httpResponse;
try {
httpResponse = httpClient.execute(httpRequest);