com.interface21.dao
Class InvalidDataAccessApiUsageException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.interface21.core.NestedRuntimeException
                          |
                          +--com.interface21.dao.DataAccessException
                                |
                                +--com.interface21.dao.InvalidDataAccessApiUsageException
All Implemented Interfaces:
HasRootCause, java.io.Serializable
Direct Known Subclasses:
InvalidParameterException, InvalidResultSetMethodInvocationException, JdoUsageException

public class InvalidDataAccessApiUsageException
extends DataAccessException

Exception thrown on incorrect usage of the API, such as failing to "compile" a query object that needed compilation before execution.
This represents a problem in our Java data access framework, not the underlying data access infrastructure.

Author:
Rod Johnson
See Also:
Serialized Form

Constructor Summary
InvalidDataAccessApiUsageException(java.lang.String s)
          Constructor for InvalidDataAccessApiUsageException.
InvalidDataAccessApiUsageException(java.lang.String s, java.lang.Throwable ex)
          Constructor for InvalidDataAccessApiUsageException.
 
Methods inherited from class com.interface21.core.NestedRuntimeException
getMessage, getRootCause, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidDataAccessApiUsageException

public InvalidDataAccessApiUsageException(java.lang.String s)
Constructor for InvalidDataAccessApiUsageException.
Parameters:
s - message

InvalidDataAccessApiUsageException

public InvalidDataAccessApiUsageException(java.lang.String s,
                                          java.lang.Throwable ex)
Constructor for InvalidDataAccessApiUsageException.
Parameters:
s - message
ex - root cause, from an underlying API such as JDBC


Rod Johnson and Spring contributors 2001-2003.