Package io.zeebe.protocol.record.value
Interface ErrorRecordValue
-
- All Superinterfaces:
JsonSerializable,RecordValue
public interface ErrorRecordValue extends RecordValue
Error records are written on unexpected errors during the processing phase.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetErrorEventPosition()StringgetExceptionMessage()longgetProcessInstanceKey()StringgetStacktrace()-
Methods inherited from interface io.zeebe.protocol.record.JsonSerializable
toJson
-
-
-
-
Method Detail
-
getExceptionMessage
String getExceptionMessage()
- Returns:
- the exception message, which causes this error record.
-
getStacktrace
String getStacktrace()
- Returns:
- the stacktrace, which belongs to the exception
-
getErrorEventPosition
long getErrorEventPosition()
- Returns:
- the position of the event, which causes this error
-
getProcessInstanceKey
long getProcessInstanceKey()
- Returns:
- the process instance key, which is related to the failed event. If the event is not process instance related, then this will return -1
-
-