public class IncorrectDataSizeException extends RuntimeException
Constructor and Description |
---|
IncorrectDataSizeException(int expectedSize)
Constructor for IncorrectResultSizeDataAccessException.
|
IncorrectDataSizeException(int expectedSize,
int actualSize)
Constructor for IncorrectResultSizeDataAccessException.
|
IncorrectDataSizeException(String msg,
int expectedSize)
Constructor for IncorrectResultSizeDataAccessException.
|
IncorrectDataSizeException(String msg,
int expectedSize,
int actualSize)
Constructor for IncorrectResultSizeDataAccessException.
|
IncorrectDataSizeException(String msg,
int expectedSize,
int actualSize,
SQLException ex)
Constructor for IncorrectResultSizeDataAccessException.
|
IncorrectDataSizeException(String msg,
int expectedSize,
SQLException 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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IncorrectDataSizeException(int expectedSize)
expectedSize
- the expected result sizepublic IncorrectDataSizeException(int expectedSize, int actualSize)
expectedSize
- the expected result sizeactualSize
- the actual result size (or -1 if unknown)public IncorrectDataSizeException(String msg, int expectedSize)
msg
- the detail messageexpectedSize
- the expected result sizepublic IncorrectDataSizeException(String msg, int expectedSize, SQLException ex)
msg
- the detail messageexpectedSize
- the expected result sizeex
- the wrapped exceptionpublic IncorrectDataSizeException(String msg, int expectedSize, int actualSize)
msg
- the detail messageexpectedSize
- the expected result sizeactualSize
- the actual result size (or -1 if unknown)public IncorrectDataSizeException(String msg, int expectedSize, int actualSize, SQLException ex)
msg
- the detail messageexpectedSize
- the expected result sizeactualSize
- the actual result size (or -1 if unknown)ex
- the wrapped exceptionCopyright © 2021. All rights reserved.