org.springframework.jdbc

Class IncorrectResultSetColumnCountException

    • Constructor Detail

      • IncorrectResultSetColumnCountException

        public IncorrectResultSetColumnCountException(int expectedCount,
                                                      int actualCount)
        Constructor for IncorrectResultSetColumnCountException.
        Parameters:
        expectedCount - the expected column count
        actualCount - the actual column count
      • IncorrectResultSetColumnCountException

        public IncorrectResultSetColumnCountException(java.lang.String msg,
                                                      int expectedCount,
                                                      int actualCount)
        Constructor for IncorrectResultCountDataAccessException.
        Parameters:
        msg - the detail message
        expectedCount - the expected column count
        actualCount - the actual column count
    • Method Detail

      • getExpectedCount

        public int getExpectedCount()
        Return the expected column count.
      • getActualCount

        public int getActualCount()
        Return the actual column count.