Package io.siddhi.core.exception
Class OnDemandQueryCreationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.siddhi.core.exception.StoreQueryCreationException
-
- io.siddhi.core.exception.OnDemandQueryCreationException
-
- All Implemented Interfaces:
io.siddhi.query.api.exception.SiddhiAppContextException,Serializable
public class OnDemandQueryCreationException extends StoreQueryCreationException implements io.siddhi.query.api.exception.SiddhiAppContextException
Exception class to be used when an error occurs while creatingSiddhiApp- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OnDemandQueryCreationException(String message)OnDemandQueryCreationException(String message, boolean isClassLoadingIssue)OnDemandQueryCreationException(String message, int[] queryContextStartIndex, int[] queryContextEndIndex)OnDemandQueryCreationException(String message, int[] queryContextStartIndex, int[] queryContextEndIndex, String siddhiAppName, String siddhiAppString)OnDemandQueryCreationException(String message, Throwable throwable)OnDemandQueryCreationException(String message, Throwable throwable, boolean isClassLoadingIssue)OnDemandQueryCreationException(String message, Throwable throwable, int[] queryContextStartIndex, int[] queryContextEndIndex)OnDemandQueryCreationException(String message, Throwable throwable, int[] queryContextStartIndex, int[] queryContextEndIndex, String siddhiAppName, String siddhiAppString)OnDemandQueryCreationException(Throwable throwable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()StringgetMessageWithOutContext()int[]getQueryContextEndIndex()int[]getQueryContextStartIndex()booleanisClassLoadingIssue()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
-
OnDemandQueryCreationException
public OnDemandQueryCreationException(String message, boolean isClassLoadingIssue)
-
OnDemandQueryCreationException
public OnDemandQueryCreationException(String message, Throwable throwable, boolean isClassLoadingIssue)
-
OnDemandQueryCreationException
public OnDemandQueryCreationException(String message)
-
OnDemandQueryCreationException
public OnDemandQueryCreationException(String message, Throwable throwable)
-
OnDemandQueryCreationException
public OnDemandQueryCreationException(Throwable throwable)
-
OnDemandQueryCreationException
public OnDemandQueryCreationException(String message, int[] queryContextStartIndex, int[] queryContextEndIndex, String siddhiAppName, String siddhiAppString)
-
OnDemandQueryCreationException
public OnDemandQueryCreationException(String message, Throwable throwable, int[] queryContextStartIndex, int[] queryContextEndIndex)
-
OnDemandQueryCreationException
public OnDemandQueryCreationException(String message, int[] queryContextStartIndex, int[] queryContextEndIndex)
-
-
Method Detail
-
isClassLoadingIssue
public boolean isClassLoadingIssue()
- Specified by:
isClassLoadingIssuein classStoreQueryCreationException
-
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
-
-