org.midao.jdbc.spring.exception
Class InvalidResultSetAccessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.sql.SQLException
org.midao.jdbc.core.exception.MidaoSQLException
org.midao.jdbc.spring.exception.InvalidResultSetAccessException
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Iterable<java.lang.Throwable>
public class InvalidResultSetAccessException
- extends MidaoSQLException
Exception is 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. Also thrown by disconnected SqlRowSets.
Above description was taken from Spring JDBC documentation
- See Also:
- Serialized Form
Constructor Summary |
InvalidResultSetAccessException(java.lang.String reason,
java.lang.String SQLState,
int vendorCode)
Creates new InvalidResultSetAccessException instance |
Methods inherited from class java.sql.SQLException |
getErrorCode, getNextException, getSQLState, iterator, setNextException |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
InvalidResultSetAccessException
public InvalidResultSetAccessException(java.lang.String reason,
java.lang.String SQLState,
int vendorCode)
- Creates new InvalidResultSetAccessException instance
- Parameters:
reason
- a description of the exceptionSQLState
- an XOPEN or SQL:2003 code identifying the exceptionvendorCode
- a database vendor-specific exception code
Copyright © 2013. All Rights Reserved.