The Spring Framework

org.springframework.jca.cci
Class InvalidResultSetAccessException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.core.NestedRuntimeException
                  extended by org.springframework.dao.DataAccessException
                      extended by org.springframework.dao.InvalidDataAccessResourceUsageException
                          extended by org.springframework.jca.cci.InvalidResultSetAccessException
All Implemented Interfaces:
Serializable

public class InvalidResultSetAccessException
extends InvalidDataAccessResourceUsageException

Exception thrown when a ResultSet has been accessed in an invalid fashion. Such exceptions always have a java.sql.SQLException root cause.

This typically happens when an invalid ResultSet column index or name has been specified.

Since:
1.2
Author:
Juergen Hoeller
See Also:
ResultSet, Serialized Form

Constructor Summary
InvalidResultSetAccessException(String msg, SQLException ex)
          Constructor for InvalidResultSetAccessException.
 
Method Summary
 
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getCause, getMessage, getMostSpecificCause, getRootCause, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidResultSetAccessException

public InvalidResultSetAccessException(String msg,
                                       SQLException ex)
Constructor for InvalidResultSetAccessException.

Parameters:
msg - message
ex - the root cause

The Spring Framework

Copyright © 2002-2007 The Spring Framework.