Class ErrorStoreHelper


  • public class ErrorStoreHelper
    extends Object
    Acts as the static collector which is called to send erroneous events during error occurrences in Siddhi.
    • 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.