Package org.teiid.api.exception.query
Class QueryParserException
- 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.QueryParserException
-
- All Implemented Interfaces:
Serializable
public class QueryParserException extends QueryProcessingException
Thrown when a query cannot be parsed. This is most likely due to not following the Query Parser grammar, which defines how queries are parsed.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.teiid.core.TeiidException
code
-
-
Constructor Summary
Constructors Constructor Description QueryParserException()
No-arg constructor required by Externalizable semantics.QueryParserException(String message)
Construct an instance with the message specified.QueryParserException(Throwable e, String message)
Construct an instance from a message and an exception to chain to this one.QueryParserException(BundleUtil.Event event, String msg)
QueryParserException(BundleUtil.Event event, Throwable e)
QueryParserException(BundleUtil.Event event, Throwable e, String msg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParseException
getParseException()
void
setParseException(ParseException parseException)
-
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
-
QueryParserException
public QueryParserException()
No-arg constructor required by Externalizable semantics.
-
QueryParserException
public QueryParserException(String message)
Construct an instance with the message specified.- Parameters:
message
- A message describing the exception
-
QueryParserException
public QueryParserException(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
-
QueryParserException
public QueryParserException(BundleUtil.Event event, Throwable e)
-
QueryParserException
public QueryParserException(BundleUtil.Event event, Throwable e, String msg)
-
QueryParserException
public QueryParserException(BundleUtil.Event event, String msg)
-
-
Method Detail
-
getParseException
public ParseException getParseException()
-
setParseException
public void setParseException(ParseException parseException)
-
-