org.springframework.jdbc
public class: InvalidResultSetAccessException [javadoc |
source]
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.dao.DataAccessException
org.springframework.dao.NonTransientDataAccessException
org.springframework.dao.InvalidDataAccessResourceUsageException
org.springframework.jdbc.InvalidResultSetAccessException
All Implemented Interfaces:
Serializable
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. Also thrown by disconnected SqlRowSets.
| Methods from java.lang.Throwable: |
|---|
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Method from org.springframework.jdbc.InvalidResultSetAccessException Detail: |
public SQLException getSQLException() {
return (SQLException) getCause();
}
Return the wrapped SQLException. |
public String getSql() {
return this.sql;
}
Return the SQL that caused the problem. |