![]() |
Open Kilda Java Documentation
|
Public Member Functions | |
MessageException (String correlationId, long timestamp, ErrorType errorType, String errorMessage, String errorDescription) | |
MessageException (ErrorMessage message) | |
String | getCorrelationId () |
long | getTimestamp () |
![]() | |
CacheException (ErrorType errorType, String errorMessage, String errorDescription) | |
ErrorType | getErrorType () |
String | getErrorMessage () |
String | getErrorDescription () |
Protected Attributes | |
String | correlationId |
long | timestamp |
![]() | |
ErrorType | errorType |
String | errorMessage |
String | errorDescription |
The exception for notifying errors.
Definition at line 22 of file MessageException.java.
org.openkilda.messaging.error.MessageException.MessageException | ( | String | correlationId, |
long | timestamp, | ||
ErrorType | errorType, | ||
String | errorMessage, | ||
String | errorDescription | ||
) |
Instance constructor.
correlationId | error correlation id |
timestamp | error timestamp |
errorType | error type |
errorMessage | error message |
errorDescription | error description |
Definition at line 47 of file MessageException.java.
org.openkilda.messaging.error.MessageException.MessageException | ( | ErrorMessage | message | ) |
Instance constructor.
message | the MessageError |
Definition at line 59 of file MessageException.java.
String org.openkilda.messaging.error.MessageException.getCorrelationId | ( | ) |
Returns error correlation id.
Definition at line 72 of file MessageException.java.
long org.openkilda.messaging.error.MessageException.getTimestamp | ( | ) |
Returns error timestamp.
Definition at line 81 of file MessageException.java.
|
protected |
The correlation id.
Definition at line 31 of file MessageException.java.
|
protected |
The timestamp.
Definition at line 36 of file MessageException.java.