org.springframework.dao

Class InvalidDataAccessApiUsageException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    SqlXmlFeatureNotImplementedException


    public class InvalidDataAccessApiUsageException
    extends NonTransientDataAccessException
    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
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, 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(java.lang.String msg)
        Constructor for InvalidDataAccessApiUsageException.
        Parameters:
        msg - the detail message
      • InvalidDataAccessApiUsageException

        public InvalidDataAccessApiUsageException(java.lang.String msg,
                                                  java.lang.Throwable cause)
        Constructor for InvalidDataAccessApiUsageException.
        Parameters:
        msg - the detail message
        cause - the root cause from the data access API in use