public String getMessage() {

        return ExceptionUtil.getMessageWithContext(siddhiAppName, queryContextStartIndex, queryContextEndIndex,
                siddhiAppPortion, message);
    }
Exception thrown when siddhi app is not valid
modules/siddhi-query-api/src/main/java/io/siddhi/query/api/exception/SiddhiAppValidationException.java