public class IncorrectResultSizeDataAccessException extends DataRetrievalFailureException
EmptyResultDataAccessException, 
Serialized Form| Constructor and Description | 
|---|
| IncorrectResultSizeDataAccessException(int expectedSize)Constructor for IncorrectResultSizeDataAccessException. | 
| IncorrectResultSizeDataAccessException(int expectedSize,
                                      int actualSize)Constructor for IncorrectResultSizeDataAccessException. | 
| IncorrectResultSizeDataAccessException(String msg,
                                      int expectedSize)Constructor for IncorrectResultSizeDataAccessException. | 
| IncorrectResultSizeDataAccessException(String msg,
                                      int expectedSize,
                                      int actualSize)Constructor for IncorrectResultSizeDataAccessException. | 
| IncorrectResultSizeDataAccessException(String msg,
                                      int expectedSize,
                                      int actualSize,
                                      Throwable ex)Constructor for IncorrectResultSizeDataAccessException. | 
| IncorrectResultSizeDataAccessException(String msg,
                                      int expectedSize,
                                      Throwable ex)Constructor for IncorrectResultSizeDataAccessException. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getActualSize()Return the actual result size (or -1 if unknown). | 
| int | getExpectedSize()Return the expected result size. | 
contains, getMessage, getMostSpecificCause, getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic IncorrectResultSizeDataAccessException(int expectedSize)
expectedSize - the expected result sizepublic IncorrectResultSizeDataAccessException(int expectedSize,
                                              int actualSize)
expectedSize - the expected result sizeactualSize - the actual result size (or -1 if unknown)public IncorrectResultSizeDataAccessException(String msg, int expectedSize)
msg - the detail messageexpectedSize - the expected result sizepublic IncorrectResultSizeDataAccessException(String msg, int expectedSize, Throwable ex)
msg - the detail messageexpectedSize - the expected result sizeex - the wrapped exceptionpublic IncorrectResultSizeDataAccessException(String msg, int expectedSize, int actualSize)
msg - the detail messageexpectedSize - the expected result sizeactualSize - the actual result size (or -1 if unknown)public IncorrectResultSizeDataAccessException(String msg, int expectedSize, int actualSize, Throwable ex)
msg - the detail messageexpectedSize - the expected result sizeactualSize - the actual result size (or -1 if unknown)ex - the wrapped exception