aboutsummaryrefslogtreecommitdiffstats
path: root/certServiceClient/src/main/java/org/onap/aaf/certservice/client/httpclient/model
diff options
context:
space:
mode:
authorTomasz Wrobel <tomasz.wrobel@nokia.com>2020-03-18 14:35:36 +0100
committerBogumil Zebek <bogumil.zebek@nokia.com>2020-03-23 07:32:29 +0000
commit8b74643e0738bd0266e510a422bf71cc67604f37 (patch)
treed0da489ebf5a6d45c598319bddea36254aa18d12 /certServiceClient/src/main/java/org/onap/aaf/certservice/client/httpclient/model
parent4b65b3c32da416ebfecb7eac808d76d89ae4b2a8 (diff)
Improve exceptions logging in certservice client
Issue-ID: AAF-1107 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I94a6477a7b1f086b698be4f0388e7a3ded0cd0f3
Diffstat (limited to 'certServiceClient/src/main/java/org/onap/aaf/certservice/client/httpclient/model')
-rw-r--r--certServiceClient/src/main/java/org/onap/aaf/certservice/client/httpclient/model/ErrorCertServiceResponse.java13
1 files changed, 4 insertions, 9 deletions
diff --git a/certServiceClient/src/main/java/org/onap/aaf/certservice/client/httpclient/model/ErrorCertServiceResponse.java b/certServiceClient/src/main/java/org/onap/aaf/certservice/client/httpclient/model/ErrorCertServiceResponse.java
index 6fe99ce5..4a9efcb4 100644
--- a/certServiceClient/src/main/java/org/onap/aaf/certservice/client/httpclient/model/ErrorCertServiceResponse.java
+++ b/certServiceClient/src/main/java/org/onap/aaf/certservice/client/httpclient/model/ErrorCertServiceResponse.java
@@ -22,19 +22,14 @@ package org.onap.aaf.certservice.client.httpclient.model;
public class ErrorCertServiceResponse {
- private final String message;
- private final String path;
+ private final String errorMessage;
- public ErrorCertServiceResponse(String message, String path) {
- this.message = message;
- this.path = path;
+ public ErrorCertServiceResponse(String errorMessage) {
+ this.errorMessage = errorMessage;
}
public String getMessage() {
- return message;
+ return errorMessage;
}
- public String getPath() {
- return path;
- }
}