org.springframework.dao
Class InvalidDataAccessResourceUsageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.dao.DataAccessException
org.springframework.dao.InvalidDataAccessResourceUsageException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- BadSqlGrammarException, HibernateQueryException, IncorrectUpdateSemanticsDataAccessException, TypeMismatchDataAccessException
- public class InvalidDataAccessResourceUsageException
- extends DataAccessException
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 will probably be supplied by data access packages.
- Author:
- Rod Johnson
- See Also:
- Serialized Form
InvalidDataAccessResourceUsageException
public InvalidDataAccessResourceUsageException(String msg)
- Constructor for InvalidDataAccessResourceUsageException.
- Parameters:
msg
- message
InvalidDataAccessResourceUsageException
public InvalidDataAccessResourceUsageException(String msg,
Throwable ex)
- Constructor for InvalidDataAccessResourceUsageException.
- Parameters:
msg
- messageex
- root cause from data access API in use
Copyright (C) 2003-2004 The Spring Framework Project.