public class IncorrectResultSizeDataAccessException extends DataAccessException
Constructor and Description |
---|
IncorrectResultSizeDataAccessException(int expectedSize)
Construct a new IncorrectResultSizeDataAccessException.
|
IncorrectResultSizeDataAccessException(int expectedSize,
int actualSize)
Construct a new IncorrectResultSizeDataAccessException.
|
Modifier and Type | Method and Description |
---|---|
int |
getActualSize() |
int |
getExpectedSize() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public 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)Copyright © 2016 Magnolia International Ltd.. All rights reserved.