org.nsdl.mptstore.query
Class QueryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.nsdl.mptstore.query.QueryException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
QuerySyntaxException

public class QueryException
extends java.lang.Exception

Signals a query-related error.

Author:
cwilper@cs.cornell.edu
See Also:
Serialized Form

Constructor Summary
QueryException(java.lang.String message)
          Construct a QueryException with a detail message.
QueryException(java.lang.String message, java.lang.Throwable cause)
          Construct a QueryException with a detail message and a cause.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueryException

public QueryException(java.lang.String message)
Construct a QueryException with a detail message.

Parameters:
message - the detail message.

QueryException

public QueryException(java.lang.String message,
                      java.lang.Throwable cause)
Construct a QueryException with a detail message and a cause.

Parameters:
message - the detail message.
cause - the cause.