com.interface21.jdbc.core
Class InvalidParameterException

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.InvalidParameterException
All Implemented Interfaces:
HasRootCause, java.io.Serializable

public class InvalidParameterException
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
InvalidParameterException(java.lang.String param, java.lang.String value)
          Constructor for InvalidParameterException.
 
Method Summary
 java.lang.String getParameter()
          Returns the exception parameter.
 java.lang.String getValue()
          Returns the value held by the parameter.
 
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

InvalidParameterException

public InvalidParameterException(java.lang.String param,
                                 java.lang.String value)
Constructor for InvalidParameterException.
Parameters:
param -  
value -  
Method Detail

getParameter

public java.lang.String getParameter()
Returns the exception parameter. Should represent a ResultSet.
Returns:
the parameter

getValue

public java.lang.String getValue()
Returns the value held by the parameter. Containts any invalid value such as 'null'.
Returns:
the value


Rod Johnson and Spring contributors 2001-2003.