Package org.teiid.api.exception.query
Class QueryValidatorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.teiid.core.TeiidException
-
- org.teiid.core.TeiidProcessingException
-
- org.teiid.api.exception.query.QueryProcessingException
-
- org.teiid.api.exception.query.QueryValidatorException
-
- All Implemented Interfaces:
Serializable
public class QueryValidatorException extends QueryProcessingException
This exception is thrown if an error is discovered while validating the query. Validation checks a number of aspects of a query to ensure that the query is semantically valid.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.teiid.core.TeiidException
code
-
-
Constructor Summary
Constructors Constructor Description QueryValidatorException()
No-arg constructor required by Externalizable semantics.QueryValidatorException(String message)
Construct an instance with the message specified.QueryValidatorException(Throwable e)
QueryValidatorException(Throwable e, String message)
Construct an instance from a message and an exception to chain to this one.QueryValidatorException(BundleUtil.Event event, String msg)
QueryValidatorException(BundleUtil.Event event, Throwable e)
QueryValidatorException(BundleUtil.Event event, Throwable e, String msg)
-
Method Summary
-
Methods inherited from class org.teiid.core.TeiidException
getCode, getMessage, getOriginalType, setCode, setOriginalType
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
QueryValidatorException
public QueryValidatorException()
No-arg constructor required by Externalizable semantics.
-
QueryValidatorException
public QueryValidatorException(String message)
Construct an instance with the message specified.- Parameters:
message
- A message describing the exception
-
QueryValidatorException
public QueryValidatorException(Throwable e)
-
QueryValidatorException
public QueryValidatorException(Throwable e, String message)
Construct an instance from a message and an exception to chain to this one.- Parameters:
message
- A message describing the exceptione
- An exception to nest within this one
-
QueryValidatorException
public QueryValidatorException(BundleUtil.Event event, Throwable e)
-
QueryValidatorException
public QueryValidatorException(BundleUtil.Event event, Throwable e, String msg)
-
QueryValidatorException
public QueryValidatorException(BundleUtil.Event event, String msg)
-
-