com.interface21.jdbc.core
Class InvalidResultSetMethodInvocationException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.interface21.core.NestedRuntimeException
                          |
                          +--com.interface21.dao.DataAccessException
                                |
                                +--com.interface21.dao.InvalidDataAccessApiUsageException
                                      |
                                      +--com.interface21.jdbc.core.InvalidResultSetMethodInvocationException
All Implemented Interfaces:
HasRootCause, java.io.Serializable

public class InvalidResultSetMethodInvocationException
extends InvalidDataAccessApiUsageException

Exception thrown when a unauthorised method from a ResultSet instance is invoked. Mostly thrown in the unauthorised ReadOnlyResultSet methods in the JdbcTemplate.

Author:
Yann Caroff
See Also:
Serialized Form

Constructor Summary
InvalidResultSetMethodInvocationException(java.lang.String resultSetMethod)
          Constructor for InvalidResultSetMethodInvocationException.
 
Method Summary
 java.lang.String getResultSetMethod()
          Returns the name of the unauthorised ResultSet method called from a ReadOnlyResultSet.
 
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

InvalidResultSetMethodInvocationException

public InvalidResultSetMethodInvocationException(java.lang.String resultSetMethod)
Constructor for InvalidResultSetMethodInvocationException.
Parameters:
resultSetMethod -  
Method Detail

getResultSetMethod

public java.lang.String getResultSetMethod()
Returns the name of the unauthorised ResultSet method called from a ReadOnlyResultSet.
Returns:
the invalid method name


Rod Johnson and Spring contributors 2001-2003.