1
|
package eu.dnetlib.uoamonitorservice.responses;
|
2
|
|
3
|
import org.springframework.http.HttpStatus;
|
4
|
|
5
|
public class ExceptionResponse {
|
6
|
private HttpStatus status;
|
7
|
private String errorCode;
|
8
|
private String errorMessage;
|
9
|
private String errors;
|
10
|
|
11
|
public ExceptionResponse() {}
|
12
|
|
13
|
public HttpStatus getStatus() { return status; }
|
14
|
|
15
|
public void setStatus(HttpStatus status) { this.status = status; }
|
16
|
|
17
|
public String getErrorCode() {
|
18
|
return errorCode;
|
19
|
}
|
20
|
|
21
|
public void setErrorCode(String errorCode) {
|
22
|
this.errorCode = errorCode;
|
23
|
}
|
24
|
|
25
|
public String getErrorMessage() {
|
26
|
return errorMessage;
|
27
|
}
|
28
|
|
29
|
public void setErrorMessage(String errorMessage) {
|
30
|
this.errorMessage = errorMessage;
|
31
|
}
|
32
|
|
33
|
public String getErrors() {
|
34
|
return errors;
|
35
|
}
|
36
|
|
37
|
public void setErrors(String errors) {
|
38
|
this.errors = errors;
|
39
|
}
|
40
|
}
|