|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+package io.zipcoder.tc_spring_poll_application.error;
|
|
|
2
|
+
|
|
|
3
|
+/**
|
|
|
4
|
+ * project: spring-demo
|
|
|
5
|
+ * package: io.zipcoder.tc_spring_poll_application.error
|
|
|
6
|
+ * author: https://github.com/vvmk
|
|
|
7
|
+ * date: 4/7/18
|
|
|
8
|
+ */
|
|
|
9
|
+public class ErrorDetail {
|
|
|
10
|
+ String title;
|
|
|
11
|
+ int status;
|
|
|
12
|
+ String detail;
|
|
|
13
|
+ long timestamp;
|
|
|
14
|
+ String developerMessage;
|
|
|
15
|
+
|
|
|
16
|
+ public String getTitle() {
|
|
|
17
|
+ return title;
|
|
|
18
|
+ }
|
|
|
19
|
+
|
|
|
20
|
+ public void setTitle(String title) {
|
|
|
21
|
+ this.title = title;
|
|
|
22
|
+ }
|
|
|
23
|
+
|
|
|
24
|
+ public int getStatus() {
|
|
|
25
|
+ return status;
|
|
|
26
|
+ }
|
|
|
27
|
+
|
|
|
28
|
+ public void setStatus(int status) {
|
|
|
29
|
+ this.status = status;
|
|
|
30
|
+ }
|
|
|
31
|
+
|
|
|
32
|
+ public String getDetail() {
|
|
|
33
|
+ return detail;
|
|
|
34
|
+ }
|
|
|
35
|
+
|
|
|
36
|
+ public void setDetail(String detail) {
|
|
|
37
|
+ this.detail = detail;
|
|
|
38
|
+ }
|
|
|
39
|
+
|
|
|
40
|
+ public long getTimestamp() {
|
|
|
41
|
+ return timestamp;
|
|
|
42
|
+ }
|
|
|
43
|
+
|
|
|
44
|
+ public void setTimestamp(long timestamp) {
|
|
|
45
|
+ this.timestamp = timestamp;
|
|
|
46
|
+ }
|
|
|
47
|
+
|
|
|
48
|
+ public String getDeveloperMessage() {
|
|
|
49
|
+ return developerMessage;
|
|
|
50
|
+ }
|
|
|
51
|
+
|
|
|
52
|
+ public void setDeveloperMessage(String developerMessage) {
|
|
|
53
|
+ this.developerMessage = developerMessage;
|
|
|
54
|
+ }
|
|
|
55
|
+}
|