Defines the payload of a Message representing an error.
Definition at line 39 of file ErrorData.java.
◆ ErrorData()
org.openkilda.messaging.error.ErrorData.ErrorData |
( |
@JsonProperty("error-type") final ErrorType |
errorType, |
|
|
@JsonProperty("error-message") final String |
errorMessage, |
|
|
@JsonProperty("error-description") final String |
errorDescription |
|
) |
| |
Instance constructor.
- Parameters
-
errorType | error type |
errorMessage | error message |
errorDescription | error exception |
Definition at line 71 of file ErrorData.java.
◆ equals()
boolean org.openkilda.messaging.error.ErrorData.equals |
( |
Object |
obj | ) |
|
◆ getErrorDescription()
String org.openkilda.messaging.error.ErrorData.getErrorDescription |
( |
| ) |
|
Returns description of the error.
- Returns
- error description
Definition at line 120 of file ErrorData.java.
◆ getErrorMessage()
String org.openkilda.messaging.error.ErrorData.getErrorMessage |
( |
| ) |
|
Returns error message.
- Returns
- error message
Definition at line 102 of file ErrorData.java.
◆ getErrorType()
ErrorType org.openkilda.messaging.error.ErrorData.getErrorType |
( |
| ) |
|
Returns error type.
- Returns
- error type
Definition at line 84 of file ErrorData.java.
◆ hashCode()
int org.openkilda.messaging.error.ErrorData.hashCode |
( |
| ) |
|
◆ setErrorDescription()
void org.openkilda.messaging.error.ErrorData.setErrorDescription |
( |
final String |
errorDescription | ) |
|
Sets error description.
- Parameters
-
errorDescription | exception description |
Definition at line 129 of file ErrorData.java.
◆ setErrorMessage()
void org.openkilda.messaging.error.ErrorData.setErrorMessage |
( |
final String |
errorMessage | ) |
|
Sets error message.
- Parameters
-
errorMessage | error message |
Definition at line 111 of file ErrorData.java.
◆ setErrorType()
void org.openkilda.messaging.error.ErrorData.setErrorType |
( |
final ErrorType |
errorType | ) |
|
◆ toString()
String org.openkilda.messaging.error.ErrorData.toString |
( |
| ) |
|
◆ errorDescription
String org.openkilda.messaging.error.ErrorData.errorDescription |
|
protected |
◆ errorMessage
String org.openkilda.messaging.error.ErrorData.errorMessage |
|
protected |
◆ errorType
ErrorType org.openkilda.messaging.error.ErrorData.errorType |
|
protected |
The documentation for this class was generated from the following file:
- /Users/kevin/Desktop/Kilda/open-kilda-develop/services/src/messaging/src/main/java/org/openkilda/messaging/error/ErrorData.java