public class IncorrectResultSetColumnCountException extends DataRetrievalFailureException
IncorrectResultSizeDataAccessException
,
Serialized FormConstructor 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, getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public 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