Class QueryProcessingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
tools.refinery.interpreter.matchers.InterpreterRuntimeException
tools.refinery.interpreter.matchers.planning.QueryProcessingException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
QueryInitializationException
- Since:
- 0.9
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionQueryProcessingException
(String message, Object patternDescription) QueryProcessingException
(String message, String[] context, String shortMessage, Object patternDescription) QueryProcessingException
(String message, String[] context, String shortMessage, Object patternDescription, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionprotected static String
Binding the '{n}' (n = 1..N) strings to contextual conditions in 'context'void
setPatternDescription
(Object patternDescription) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
QueryProcessingException
- Parameters:
message
- The template of the exception messagepatternDescription
- the PatternDescription where the exception occurredcontext
- The data elements to be used to instantiate the template. Can be null if no context parameter is defined- Since:
- 2.0
-
QueryProcessingException
public QueryProcessingException(String message, String[] context, String shortMessage, Object patternDescription) - Parameters:
message
- The template of the exception messagecontext
- The data elements to be used to instantiate the template. Can be null if no context parameter is definedpatternDescription
- the PatternDescription where the exception occurred
-
QueryProcessingException
public QueryProcessingException(String message, String[] context, String shortMessage, Object patternDescription, Throwable cause) - Parameters:
message
- The template of the exception messagecontext
- The data elements to be used to instantiate the template. Can be null if no context parameter is definedpatternDescription
- the PatternDescription where the exception occurred
-
-
Method Details
-
bind
Binding the '{n}' (n = 1..N) strings to contextual conditions in 'context'- Parameters:
context
- : array of context-sensitive Strings
-
getPatternDescription
-
getShortMessage
-
setPatternDescription
-