Package io.siddhi.query.api.exception
Class DuplicateDefinitionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.siddhi.query.api.exception.SiddhiAppValidationException
-
- io.siddhi.query.api.exception.DuplicateDefinitionException
-
- All Implemented Interfaces:
SiddhiAppContextException,Serializable
public class DuplicateDefinitionException extends SiddhiAppValidationException
Exception thrown when a similar definition is defined again- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DuplicateDefinitionException(String message, int[] queryContextStartIndex, int[] queryContextEndIndex)DuplicateDefinitionException(String message, Throwable throwable, int[] queryContextStartIndex, int[] queryContextEndIndex)DuplicateDefinitionException(String message, Throwable throwable, int[] queryContextStartIndex, int[] queryContextEndIndex, String siddhiAppName, String siddhiAppString)
-
Method Summary
-
Methods inherited from class io.siddhi.query.api.exception.SiddhiAppValidationException
getMessage, getMessageWithOutContext, getQueryContextEndIndex, getQueryContextStartIndex, setQueryContextIndexIfAbsent
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
DuplicateDefinitionException
public DuplicateDefinitionException(String message, Throwable throwable, int[] queryContextStartIndex, int[] queryContextEndIndex)
-
DuplicateDefinitionException
public DuplicateDefinitionException(String message, int[] queryContextStartIndex, int[] queryContextEndIndex)
-
-