com.metamatrix.api.exception.query
Class QueryParserException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.metamatrix.core.MetaMatrixCoreException
              extended by com.metamatrix.api.exception.MetaMatrixException
                  extended by com.metamatrix.api.exception.MetaMatrixProcessingException
                      extended by com.metamatrix.api.exception.query.QueryProcessingException
                          extended by com.metamatrix.api.exception.query.QueryParserException
All Implemented Interfaces:
java.io.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 com.metamatrix.core.MetaMatrixCoreException
code
 
Constructor Summary
QueryParserException()
          No-arg constructor required by Externalizable semantics.
QueryParserException(java.lang.String message)
          Construct an instance with the message specified.
QueryParserException(java.lang.String code, java.lang.String message)
          Construct an instance with the message and error code specified.
QueryParserException(java.lang.Throwable e, java.lang.String message)
          Construct an instance from a message and an exception to chain to this one.
QueryParserException(java.lang.Throwable e, java.lang.String code, java.lang.String message)
          Construct an instance from a message and a code and an exception to chain to this one.
 
Method Summary
 
Methods inherited from class com.metamatrix.api.exception.MetaMatrixException
getChild, getFullMessage, toString
 
Methods inherited from class com.metamatrix.core.MetaMatrixCoreException
getCode, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueryParserException

public QueryParserException()
No-arg constructor required by Externalizable semantics.


QueryParserException

public QueryParserException(java.lang.String message)
Construct an instance with the message specified.

Parameters:
message - A message describing the exception

QueryParserException

public QueryParserException(java.lang.String code,
                            java.lang.String message)
Construct an instance with the message and error code specified.

Parameters:
message - A message describing the exception
code - The error code

QueryParserException

public QueryParserException(java.lang.Throwable e,
                            java.lang.String message)
Construct an instance from a message and an exception to chain to this one.

Parameters:
message - A message describing the exception
e - An exception to nest within this one

QueryParserException

public QueryParserException(java.lang.Throwable e,
                            java.lang.String code,
                            java.lang.String message)
Construct an instance from a message and a code and an exception to chain to this one.

Parameters:
e - An exception to nest within this one
message - A message describing the exception
code - A code denoting the exception


Copyright © 2009. All Rights Reserved.