com.interface21.dao
Class InvalidDataAccessResourceUsageException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.interface21.core.NestedRuntimeException
                          |
                          +--com.interface21.dao.DataAccessException
                                |
                                +--com.interface21.dao.InvalidDataAccessResourceUsageException
All Implemented Interfaces:
HasRootCause, java.io.Serializable
Direct Known Subclasses:
BadSqlGrammarException, IncorrectUpdateSemanticsDataAccessException

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.

Version:
$Id: InvalidDataAccessResourceUsageException.java,v 1.1.1.1 2003/02/11 08:10:19 johnsonr Exp $
Author:
Rod Johnson
See Also:
Serialized Form

Constructor Summary
InvalidDataAccessResourceUsageException(java.lang.String s)
          Constructor for InvalidDataAccessResourceUsageException.
InvalidDataAccessResourceUsageException(java.lang.String s, java.lang.Throwable ex)
          Constructor for InvalidDataAccessResourceUsageException.
 
Methods inherited from class com.interface21.core.NestedRuntimeException
getMessage, getRootCause, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidDataAccessResourceUsageException

public InvalidDataAccessResourceUsageException(java.lang.String s)
Constructor for InvalidDataAccessResourceUsageException.
Parameters:
s - message

InvalidDataAccessResourceUsageException

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


Rod Johnson and Spring contributors 2001-2003.