Class QueryEvaluationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.qpid.server.query.engine.exception.QueryEngineException
-
- org.apache.qpid.server.query.engine.exception.QueryEvaluationException
-
- All Implemented Interfaces:
Serializable
public class QueryEvaluationException extends QueryEngineException
Exception thrown during query evaluation- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedQueryEvaluationException()protectedQueryEvaluationException(String message)protectedQueryEvaluationException(String message, Throwable throwable)protectedQueryEvaluationException(Throwable throwable)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static QueryEvaluationExceptionemptyFunctionParameter(String functionName, int argNumber)static QueryEvaluationExceptionfieldNotFound(String property)static QueryEvaluationExceptionfunctionParameterLessThanOne(String functionName, int argNumber)static <R> QueryEvaluationExceptioninvalidFunctionParameter(String functionName, R parameter)static QueryEvaluationExceptioninvalidFunctionParameters(String functionName, List<?> invalidArgs)static QueryEvaluationExceptionof(String message, Object... args)-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
invalidFunctionParameter
public static <R> QueryEvaluationException invalidFunctionParameter(String functionName, R parameter)
-
invalidFunctionParameters
public static QueryEvaluationException invalidFunctionParameters(String functionName, List<?> invalidArgs)
-
emptyFunctionParameter
public static QueryEvaluationException emptyFunctionParameter(String functionName, int argNumber)
-
functionParameterLessThanOne
public static QueryEvaluationException functionParameterLessThanOne(String functionName, int argNumber)
-
fieldNotFound
public static QueryEvaluationException fieldNotFound(String property)
-
of
public static QueryEvaluationException of(String message, Object... args)
-
-