public class QueryProcessingException extends ViatraQueryRuntimeException
| Constructor and Description |
|---|
QueryProcessingException(java.lang.String message,
java.lang.Object patternDescription) |
QueryProcessingException(java.lang.String message,
java.lang.String[] context,
java.lang.String shortMessage,
java.lang.Object patternDescription) |
QueryProcessingException(java.lang.String message,
java.lang.String[] context,
java.lang.String shortMessage,
java.lang.Object patternDescription,
java.lang.Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
protected static java.lang.String |
bind(java.lang.String message,
java.lang.String[] context)
Binding the '{n}' (n = 1..N) strings to contextual conditions in 'context'
|
java.lang.Object |
getPatternDescription() |
java.lang.String |
getShortMessage() |
void |
setPatternDescription(java.lang.Object patternDescription) |
public QueryProcessingException(java.lang.String message,
java.lang.Object patternDescription)
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 occurredpublic QueryProcessingException(java.lang.String message,
java.lang.String[] context,
java.lang.String shortMessage,
java.lang.Object patternDescription)
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 occurredpublic QueryProcessingException(java.lang.String message,
java.lang.String[] context,
java.lang.String shortMessage,
java.lang.Object patternDescription,
java.lang.Throwable cause)
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 occurredprotected static java.lang.String bind(java.lang.String message,
java.lang.String[] context)
context - : array of context-sensitive Stringspublic java.lang.Object getPatternDescription()
public java.lang.String getShortMessage()
public void setPatternDescription(java.lang.Object patternDescription)