Commons DbUtils
  1. Commons DbUtils
  2. DBUTILS-7

[dbutils] MockResultSet: Throw UnsupportedOperationException for not implemented methods

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.1
    • Labels:
      None
    • Environment:

      Operating System: Linux
      Platform: Other

      Description

      Currently the proxy generated by MockResultSet quietly returns null when it is
      invoked for a method that it does not implement. This may lead to strange an
      unexpected errors in other places. Please make it throw an
      UnsupportedOperationException instead.

      Michael

        Activity

        Henri Yandell made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Henri Yandell made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.1 [ 12311973 ]
        Henri Yandell made changes -
        Affects Version/s 1.0 Final [ 12311724 ]
        Henri Yandell made changes -
        Key COM-1848 DBUTILS-7
        Assignee Jakarta Commons Developers Mailing List [ commons-dev@jakarta.apache.org ]
        Affects Version/s 1.0 Final [ 12311651 ]
        Project Commons [ 12310458 ] Commons DbUtils [ 12310470 ]
        Component/s DbUtils [ 12311110 ]
        Henri Yandell made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 33108 12342000
        Michael Schuerig created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Michael Schuerig
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development