public static void populateQueryContext(Throwable t, SiddhiElement siddhiElement,
                                            SiddhiAppContext siddhiAppContext) {
        populateQueryContext(t, siddhiElement, siddhiAppContext, null);
    }
Util class to handling Siddhi exceptions
modules/siddhi-core/src/main/java/io/siddhi/core/util/ExceptionUtil.java