DODS 5.1 API

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

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.lutris.dods.builder.generator.query.QueryException
All Implemented Interfaces:
java.io.Serializable

public class QueryException
extends java.lang.Exception

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 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 msg,
                      java.lang.Throwable cause)

QueryException

public QueryException(java.lang.String msg)

DODS 5.1 API