public class IncorrectResultSetColumnCountException extends DataRetrievalFailureException
IncorrectResultSizeDataAccessException
,
Serialized FormConstructor and Description |
---|
IncorrectResultSetColumnCountException(int expectedCount,
int actualCount)
Constructor for IncorrectResultSetColumnCountException.
|
IncorrectResultSetColumnCountException(java.lang.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, getRootCause
public IncorrectResultSetColumnCountException(int expectedCount, int actualCount)
expectedCount
- the expected column countactualCount
- the actual column countpublic IncorrectResultSetColumnCountException(java.lang.String msg, int expectedCount, int actualCount)
msg
- the detail messageexpectedCount
- the expected column countactualCount
- the actual column count