Class InvalidDataAccessResourceUsageException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BadSqlGrammarException, BadSqlGrammarException, HibernateQueryException, IncorrectUpdateSemanticsDataAccessException, InvalidResultSetAccessException, TypeMismatchDataAccessException

public class InvalidDataAccessResourceUsageException extends NonTransientDataAccessException
Root for exceptions thrown when we use a data access resource incorrectly. Thrown for example on specifying bad SQL when using a RDBMS. Resource-specific subclasses are supplied by concrete data access packages.
Author:
Rod Johnson
See Also:
  • Constructor Details

    • InvalidDataAccessResourceUsageException

      public InvalidDataAccessResourceUsageException(@Nullable String msg)
      Constructor for InvalidDataAccessResourceUsageException.
      Parameters:
      msg - the detail message
    • InvalidDataAccessResourceUsageException

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