Top Description Constructors
org.springframework.dao

public Class InvalidDataAccessApiUsageException

extends NonTransientDataAccessException
Class Inheritance
Annotations
@SuppressWarnings:serial

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

Constructor Summary

AccessConstructor and Description
public
InvalidDataAccessApiUsageException(String
the detail message
msg
)

Constructor for InvalidDataAccessApiUsageException.

public
InvalidDataAccessApiUsageException(String
the detail message
msg
,
Throwable
the root cause from the data access API in use
cause
)

Constructor for InvalidDataAccessApiUsageException.

Constructor Detail

InvalidDataAccessApiUsageExceptionback to summary
public InvalidDataAccessApiUsageException(String msg)

Constructor for InvalidDataAccessApiUsageException.

Parameters
msg:String

the detail message

InvalidDataAccessApiUsageExceptionback to summary
public InvalidDataAccessApiUsageException(String msg, Throwable cause)

Constructor for InvalidDataAccessApiUsageException.

Parameters
msg:String

the detail message

cause:Throwable

the root cause from the data access API in use