Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    com.isomorphic.datasource.DSResponse constructor throws exception

    Hi Isomorphic,

    using a two weeks old version of 5.0p this worked:
    Code:
    com.isomorphic.datasource.DSResponse mockedResponse = new DSResponse(ds, DSResponse.STATUS_SUCCESS);//ds is DataSource
    Now, with v10.0p_2015-08-21 this throws exception and therefore needs to be wrapped in try/catch.

    I did not expect such a change within a p-version. Are such signature changes expected to happen?

    Best regards
    Blama

    #2
    That should be throwing IllegalArgumentException so you don't have to try..catch. Sorry about that, we'll fix this right away.

    Comment


      #3
      The fix will be available in 2015-08-27 nightly builds.

      Comment


        #4
        Hi Isomorphic,

        thanks, I can confirm this one is fixed.

        Best regards
        Blama

        Comment

        Working...
        X