Open Kilda Java Documentation
Error.java
Go to the documentation of this file.
1
package
org.openkilda.model.response;
2
6
public
class
Error
{
7
9
private
int
code;
10
12
private
String message;
13
20
public
Error
(
int
code, String message) {
21
this.code = code;
22
this.message = message;
23
}
24
30
public
int
getCode
() {
31
return
code;
32
}
33
39
public
String
getMessage
() {
40
return
message;
41
}
42
43
/*
44
* (non-Javadoc)
45
*
46
* @see java.lang.Object#toString()
47
*/
48
public
String
toString
() {
49
return
"ExceptionResponse{"
+
"code="
+ code +
", message='"
+ message +
'\''
+
'}'
;
50
}
51
}
org.openkilda.model.response.Error
Definition:
Error.java:6
org.openkilda.model.response.Error.toString
String toString()
Definition:
Error.java:48
org.openkilda.model.response.Error.getMessage
String getMessage()
Definition:
Error.java:39
org.openkilda.model.response.Error.getCode
int getCode()
Definition:
Error.java:30
org.openkilda.model.response.Error.Error
Error(int code, String message)
Definition:
Error.java:20
open-kilda-develop
services
src
openkilda-gui
src
main
java
org
openkilda
model
response
Error.java
Generated by
1.8.14