DODS 6.5 API

com.lutris.dods.builder.generator.query
Class QueryException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.enhydra.dods.exceptions.DodsBaseException
              extended bycom.lutris.dods.builder.generator.query.QueryException
All Implemented Interfaces:
java.io.Serializable

public class QueryException
extends DodsBaseException

QueryException is thrown by QueryBuilder.getNextRow and getRows methods when the database query could not be performed. Application developers should treat QueryException like other ChainedException objects. QueryExceptions indicate run-time errors in accessing the database.

Author:
Jay Gunter
See Also:
QueryBuilder, Serialized Form

Constructor Summary
QueryException(java.lang.String msg)
           
QueryException(java.lang.String msg, java.lang.Throwable cause)
           
 
Methods inherited from class org.enhydra.dods.exceptions.DodsBaseException
getCause, getMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, 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 msg,
                      java.lang.Throwable cause)

QueryException

public QueryException(java.lang.String msg)

DODS 6.5 API