Class SiddhiParserException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.siddhi.query.compiler.exception.SiddhiParserException
-
- All Implemented Interfaces:
io.siddhi.query.api.exception.SiddhiAppContextException,Serializable
public class SiddhiParserException extends RuntimeException implements io.siddhi.query.api.exception.SiddhiAppContextException
Exception thrown when passer errors occur in siddhi- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SiddhiParserException(String message)SiddhiParserException(String message, int[] queryContextStartIndex, int[] queryContextEndIndex)SiddhiParserException(String message, int[] queryContextStartIndex, int[] queryContextEndIndex, String siddhiAppName, String siddhiAppString)SiddhiParserException(String message, Throwable throwable)SiddhiParserException(String message, Throwable throwable, int[] queryContextStartIndex, int[] queryContextEndIndex)SiddhiParserException(String message, Throwable throwable, int[] queryContextStartIndex, int[] queryContextEndIndex, String siddhiAppName, String siddhiAppString)SiddhiParserException(Throwable throwable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()StringgetMessageWithOutContext()int[]getQueryContextEndIndex()int[]getQueryContextStartIndex()voidsetQueryContextIndexIfAbsent(int[] queryContextStartIndex, int[] queryContextEndIndex, String siddhiAppName, String siddhiAppString)-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
SiddhiParserException
public SiddhiParserException(String message)
-
SiddhiParserException
public SiddhiParserException(Throwable throwable)
-
SiddhiParserException
public SiddhiParserException(String message, int[] queryContextStartIndex, int[] queryContextEndIndex, String siddhiAppName, String siddhiAppString)
-
SiddhiParserException
public SiddhiParserException(String message, Throwable throwable, int[] queryContextStartIndex, int[] queryContextEndIndex)
-
SiddhiParserException
public SiddhiParserException(String message, int[] queryContextStartIndex, int[] queryContextEndIndex)
-
-
Method Detail
-
setQueryContextIndexIfAbsent
public void setQueryContextIndexIfAbsent(int[] queryContextStartIndex, int[] queryContextEndIndex, String siddhiAppName, String siddhiAppString)- Specified by:
setQueryContextIndexIfAbsentin interfaceio.siddhi.query.api.exception.SiddhiAppContextException
-
getQueryContextStartIndex
public int[] getQueryContextStartIndex()
- Specified by:
getQueryContextStartIndexin interfaceio.siddhi.query.api.exception.SiddhiAppContextException
-
getQueryContextEndIndex
public int[] getQueryContextEndIndex()
- Specified by:
getQueryContextEndIndexin interfaceio.siddhi.query.api.exception.SiddhiAppContextException
-
getMessageWithOutContext
public String getMessageWithOutContext()
- Specified by:
getMessageWithOutContextin interfaceio.siddhi.query.api.exception.SiddhiAppContextException
-
getMessage
public String getMessage()
- Overrides:
getMessagein classThrowable
-
-