Class ErrorStoreHelper
- java.lang.Object
-
- io.siddhi.core.util.error.handler.util.ErrorStoreHelper
-
public class ErrorStoreHelper extends Object
Acts as the static collector which is called to send erroneous events during error occurrences in Siddhi.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidstoreErroneousEvent(ErrorStore errorStore, ErrorOccurrence occurrence, String siddhiAppName, Object erroneousEvent, String streamName)Sends an erroneous event to the error store in order to save that.
-
-
-
Method Detail
-
storeErroneousEvent
public static void storeErroneousEvent(ErrorStore errorStore, ErrorOccurrence occurrence, String siddhiAppName, Object erroneousEvent, String streamName)
Sends an erroneous event to the error store in order to save that.- Parameters:
errorStore- Error store object.occurrence- Occurrence point of the error.siddhiAppName- Siddhi app name.erroneousEvent- The event which was collected due to an error.streamName- The stream from which, error was collected.
-
-