public class IncorrectResultSizeDataAccessException extends DataAccessException
| Constructor and Description |
|---|
IncorrectResultSizeDataAccessException(int expectedSize)
Constructor for IncorrectResultSizeDataAccessException.
|
IncorrectResultSizeDataAccessException(int expectedSize,
long actualSize)
Constructor for IncorrectResultSizeDataAccessException.
|
IncorrectResultSizeDataAccessException(String msg,
int expectedSize)
Constructor for IncorrectResultSizeDataAccessException.
|
IncorrectResultSizeDataAccessException(String msg,
int expectedSize,
long actualSize)
Constructor for IncorrectResultSizeDataAccessException.
|
IncorrectResultSizeDataAccessException(String msg,
int expectedSize,
long actualSize,
Throwable ex)
Constructor for IncorrectResultSizeDataAccessException.
|
IncorrectResultSizeDataAccessException(String msg,
int expectedSize,
Throwable ex)
Constructor for IncorrectResultSizeDataAccessException.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getActualSize()
Return the actual result size (or -1 if unknown).
|
int |
getExpectedSize()
Return the expected result size.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic IncorrectResultSizeDataAccessException(int expectedSize)
expectedSize - the expected result sizepublic IncorrectResultSizeDataAccessException(int expectedSize,
long 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, long actualSize)
msg - the detail messageexpectedSize - the expected result sizeactualSize - the actual result size (or -1 if unknown)public IncorrectResultSizeDataAccessException(String msg, int expectedSize, long actualSize, Throwable ex)
msg - the detail messageexpectedSize - the expected result sizeactualSize - the actual result size (or -1 if unknown)ex - the wrapped exceptionCopyright © 2019. All rights reserved.