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
Direct Known Subclasses:
IncorrectUpdateSemanticsDataAccessException, TypeMismatchDataAccessException, BadSqlGrammarException, HibernateQueryException

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
Version: $Id: InvalidDataAccessResourceUsageException.java,v 1.3 2004/02/11 01:06:33 jhoeller Exp $

Constructor Summary
InvalidDataAccessResourceUsageException(String msg)
          Constructor for InvalidDataAccessResourceUsageException.
InvalidDataAccessResourceUsageException(String msg, Throwable ex)
          Constructor for InvalidDataAccessResourceUsageException.

Methods inherited from class org.springframework.core.NestedRuntimeException
getCause, getMessage, printStackTrace, printStackTrace

Methods inherited from class java.lang.Throwable
printStackTrace, getStackTrace, setStackTrace, getLocalizedMessage, toString, fillInStackTrace, initCause

Methods inherited from class java.lang.Object
hashCode, notify, notifyAll, wait, wait, wait, getClass, equals

Constructor Detail

InvalidDataAccessResourceUsageException

public InvalidDataAccessResourceUsageException(String msg)
Constructor for InvalidDataAccessResourceUsageException.
Parameters:
msg - message

InvalidDataAccessResourceUsageException

public InvalidDataAccessResourceUsageException(String msg, Throwable ex)
Constructor for InvalidDataAccessResourceUsageException.
Parameters:
msg - message
ex - root cause