Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-457

Oreilly-workbook example ex07_01 test does not provoce exception as expected

    Details

    • Affects:
      Documentation (Ref Guide, User Guide, etc.)

      Description

      In the example ex07_01 test CustomerResourceTest.java does not throw exception "FileNotFoundException" as expected. In order to throw the desired exception is necessary to add "connection.getInputStream();" after line "int code = connection.getResponseCode();"

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bill.burke Bill Burke
                Reporter:
                marcilio.grisotto Marcilio Grisotto
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 minute
                  1m
                  Remaining:
                  Remaining Estimate - 1 minute
                  1m
                  Logged:
                  Time Spent - Not Specified
                  Not Specified