public class IncorrectResultSetColumnCountException extends DataRetrievalFailureException
IncorrectResultSizeDataAccessException, 
Serialized Form| Constructor and Description | 
|---|
| IncorrectResultSetColumnCountException(int expectedCount,
                                      int actualCount)Constructor for IncorrectResultSetColumnCountException. | 
| IncorrectResultSetColumnCountException(String msg,
                                      int expectedCount,
                                      int actualCount)Constructor for IncorrectResultCountDataAccessException. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getActualCount()Return the actual column count. | 
| int | getExpectedCount()Return the expected column count. | 
contains, getMessage, getMostSpecificCause, getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic IncorrectResultSetColumnCountException(int expectedCount,
                                              int actualCount)
expectedCount - the expected column countactualCount - the actual column countpublic IncorrectResultSetColumnCountException(String msg, int expectedCount, int actualCount)
msg - the detail messageexpectedCount - the expected column countactualCount - the actual column count