org.springframework.dao
Class InvalidDataAccessApiUsageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.dao.DataAccessException
org.springframework.dao.InvalidDataAccessApiUsageException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- 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
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 |
InvalidDataAccessApiUsageException
public InvalidDataAccessApiUsageException(java.lang.String msg)
- Constructor for InvalidDataAccessApiUsageException.
- Parameters:
msg
- message
InvalidDataAccessApiUsageException
public InvalidDataAccessApiUsageException(java.lang.String msg,
java.lang.Throwable ex)
- Constructor for InvalidDataAccessApiUsageException.
- Parameters:
msg
- messageex
- root cause, from an underlying API such as JDBC
Copyright (C) 2003-2004 The Spring Framework Project.