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.DataRetrievalFailureException | |||||||
↳ | org.springframework.jdbc.IncorrectResultSetColumnCountException |
Data access exception thrown when a result set did not have the correct column count, for example when expecting a single column but getting 0 or more than 1 columns.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor for IncorrectResultSetColumnCountException.
| |||||||||||
Constructor for IncorrectResultCountDataAccessException.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the actual column count.
| |||||||||||
Return the expected column count.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.core.NestedRuntimeException
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
|
Constructor for IncorrectResultSetColumnCountException.
expectedCount | the expected column count |
---|---|
actualCount | the actual column count |
Constructor for IncorrectResultCountDataAccessException.
msg | the detail message |
---|---|
expectedCount | the expected column count |
actualCount | the actual column count |
Return the actual column count.
Return the expected column count.