org.springframework.dao
Class InvalidDataAccessApiUsageException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.springframework.core.NestedRuntimeException
                  extended byorg.springframework.dao.DataAccessException
                      extended byorg.springframework.dao.InvalidDataAccessApiUsageException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IncorrectResultSizeDataAccessException, 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

Field Summary
 
Fields inherited from class java.lang.RuntimeException
 
Constructor Summary
InvalidDataAccessApiUsageException(String msg)
          Constructor for InvalidDataAccessApiUsageException.
InvalidDataAccessApiUsageException(String msg, Throwable ex)
          Constructor for InvalidDataAccessApiUsageException.
 
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getCause, getMessage, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidDataAccessApiUsageException

public InvalidDataAccessApiUsageException(String msg)
Constructor for InvalidDataAccessApiUsageException.

Parameters:
msg - message

InvalidDataAccessApiUsageException

public InvalidDataAccessApiUsageException(String msg,
                                          Throwable ex)
Constructor for InvalidDataAccessApiUsageException.

Parameters:
msg - message
ex - root cause from data access API in use


Copyright (C) 2003-2004 The Spring Framework Project.