org.springframework.dao

Class IncorrectResultSizeDataAccessException

    • Constructor Detail

      • IncorrectResultSizeDataAccessException

        public IncorrectResultSizeDataAccessException(int expectedSize)
        Constructor for IncorrectResultSizeDataAccessException.
        Parameters:
        expectedSize - the expected result size
      • IncorrectResultSizeDataAccessException

        public IncorrectResultSizeDataAccessException(int expectedSize,
                                                      int actualSize)
        Constructor for IncorrectResultSizeDataAccessException.
        Parameters:
        expectedSize - the expected result size
        actualSize - the actual result size (or -1 if unknown)
      • IncorrectResultSizeDataAccessException

        public IncorrectResultSizeDataAccessException(java.lang.String msg,
                                                      int expectedSize)
        Constructor for IncorrectResultSizeDataAccessException.
        Parameters:
        msg - the detail message
        expectedSize - the expected result size
      • IncorrectResultSizeDataAccessException

        public IncorrectResultSizeDataAccessException(java.lang.String msg,
                                                      int expectedSize,
                                                      java.lang.Throwable ex)
        Constructor for IncorrectResultSizeDataAccessException.
        Parameters:
        msg - the detail message
        expectedSize - the expected result size
        ex - the wrapped exception
      • IncorrectResultSizeDataAccessException

        public IncorrectResultSizeDataAccessException(java.lang.String msg,
                                                      int expectedSize,
                                                      int actualSize)
        Constructor for IncorrectResultSizeDataAccessException.
        Parameters:
        msg - the detail message
        expectedSize - the expected result size
        actualSize - the actual result size (or -1 if unknown)
      • IncorrectResultSizeDataAccessException

        public IncorrectResultSizeDataAccessException(java.lang.String msg,
                                                      int expectedSize,
                                                      int actualSize,
                                                      java.lang.Throwable ex)
        Constructor for IncorrectResultSizeDataAccessException.
        Parameters:
        msg - the detail message
        expectedSize - the expected result size
        actualSize - the actual result size (or -1 if unknown)
        ex - the wrapped exception
    • Method Detail

      • getExpectedSize

        public int getExpectedSize()
        Return the expected result size.
      • getActualSize

        public int getActualSize()
        Return the actual result size (or -1 if unknown).