Open Kilda Java Documentation
org.openkilda.messaging.error.MessageException Class Reference
Inheritance diagram for org.openkilda.messaging.error.MessageException:
org.openkilda.messaging.error.CacheException

Public Member Functions

 MessageException (String correlationId, long timestamp, ErrorType errorType, String errorMessage, String errorDescription)
 
 MessageException (ErrorMessage message)
 
String getCorrelationId ()
 
long getTimestamp ()
 
- Public Member Functions inherited from org.openkilda.messaging.error.CacheException
 CacheException (ErrorType errorType, String errorMessage, String errorDescription)
 
ErrorType getErrorType ()
 
String getErrorMessage ()
 
String getErrorDescription ()
 

Protected Attributes

String correlationId
 
long timestamp
 
- Protected Attributes inherited from org.openkilda.messaging.error.CacheException
ErrorType errorType
 
String errorMessage
 
String errorDescription
 

Detailed Description

The exception for notifying errors.

Definition at line 22 of file MessageException.java.

Constructor & Destructor Documentation

◆ MessageException() [1/2]

org.openkilda.messaging.error.MessageException.MessageException ( String  correlationId,
long  timestamp,
ErrorType  errorType,
String  errorMessage,
String  errorDescription 
)

Instance constructor.

Parameters
correlationIderror correlation id
timestamperror timestamp
errorTypeerror type
errorMessageerror message
errorDescriptionerror description

Definition at line 47 of file MessageException.java.

◆ MessageException() [2/2]

org.openkilda.messaging.error.MessageException.MessageException ( ErrorMessage  message)

Instance constructor.

Parameters
messagethe MessageError

Definition at line 59 of file MessageException.java.

Member Function Documentation

◆ getCorrelationId()

String org.openkilda.messaging.error.MessageException.getCorrelationId ( )

Returns error correlation id.

Returns
error correlation id

Definition at line 72 of file MessageException.java.

◆ getTimestamp()

long org.openkilda.messaging.error.MessageException.getTimestamp ( )

Returns error timestamp.

Returns
error timestamp

Definition at line 81 of file MessageException.java.

Member Data Documentation

◆ correlationId

String org.openkilda.messaging.error.MessageException.correlationId
protected

The correlation id.

Definition at line 31 of file MessageException.java.

◆ timestamp

long org.openkilda.messaging.error.MessageException.timestamp
protected

The timestamp.

Definition at line 36 of file MessageException.java.


The documentation for this class was generated from the following file: