Package io.siddhi.query.api.exception
Class SiddhiAppValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.siddhi.query.api.exception.SiddhiAppValidationException
-
- All Implemented Interfaces:
SiddhiAppContextException,Serializable
- Direct Known Subclasses:
AttributeNotExistException,DuplicateAnnotationException,DuplicateAttributeException,DuplicateDefinitionException,UnsupportedAttributeTypeException
public class SiddhiAppValidationException extends RuntimeException implements SiddhiAppContextException
Exception thrown when siddhi app is not valid- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SiddhiAppValidationException(String message)SiddhiAppValidationException(String message, int[] queryContextStartIndex, int[] queryContextEndIndex)SiddhiAppValidationException(String message, int[] queryContextStartIndex, int[] queryContextEndIndex, String siddhiAppName, String siddhiAppString)SiddhiAppValidationException(String message, Throwable throwable)SiddhiAppValidationException(String message, Throwable throwable, int[] queryContextStartIndex, int[] queryContextEndIndex)SiddhiAppValidationException(String message, Throwable throwable, int[] queryContextStartIndex, int[] queryContextEndIndex, String siddhiAppName, String siddhiAppString)SiddhiAppValidationException(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
-
SiddhiAppValidationException
public SiddhiAppValidationException(String message)
-
SiddhiAppValidationException
public SiddhiAppValidationException(String message, Throwable throwable)
-
SiddhiAppValidationException
public SiddhiAppValidationException(Throwable throwable)
-
SiddhiAppValidationException
public SiddhiAppValidationException(String message, int[] queryContextStartIndex, int[] queryContextEndIndex, String siddhiAppName, String siddhiAppString)
-
SiddhiAppValidationException
public SiddhiAppValidationException(String message, Throwable throwable, int[] queryContextStartIndex, int[] queryContextEndIndex)
-
SiddhiAppValidationException
public SiddhiAppValidationException(String message, int[] queryContextStartIndex, int[] queryContextEndIndex)
-
-
Method Detail
-
setQueryContextIndexIfAbsent
public void setQueryContextIndexIfAbsent(int[] queryContextStartIndex, int[] queryContextEndIndex, String siddhiAppName, String siddhiAppString)- Specified by:
setQueryContextIndexIfAbsentin interfaceSiddhiAppContextException
-
getQueryContextStartIndex
public int[] getQueryContextStartIndex()
- Specified by:
getQueryContextStartIndexin interfaceSiddhiAppContextException
-
getQueryContextEndIndex
public int[] getQueryContextEndIndex()
- Specified by:
getQueryContextEndIndexin interfaceSiddhiAppContextException
-
getMessageWithOutContext
public String getMessageWithOutContext()
- Specified by:
getMessageWithOutContextin interfaceSiddhiAppContextException
-
getMessage
public String getMessage()
- Overrides:
getMessagein classThrowable
-
-