Package 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.NonTransientDataAccessException
org.springframework.dao.InvalidDataAccessApiUsageException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- SqlXmlFeatureNotImplementedException
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:
- 
Constructor SummaryConstructorsConstructorDescriptionConstructor for InvalidDataAccessApiUsageException.InvalidDataAccessApiUsageException(String msg, Throwable cause) Constructor for InvalidDataAccessApiUsageException.
- 
Method SummaryMethods inherited from class org.springframework.core.NestedRuntimeExceptioncontains, getMessage, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
InvalidDataAccessApiUsageExceptionConstructor for InvalidDataAccessApiUsageException.- Parameters:
- msg- the detail message
 
- 
InvalidDataAccessApiUsageExceptionConstructor for InvalidDataAccessApiUsageException.- Parameters:
- msg- the detail message
- cause- the root cause from the data access API in use
 
 
-