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

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

XMLWordPrintable

    • Icon: Patch Patch
    • Resolution: Done
    • Icon: Trivial Trivial
    • None
    • 2.0.1.GA
    • None
    • Documentation (Ref Guide, User Guide, etc.)

      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();"

              patriot1burke@gmail.com Bill Burke (Inactive)
              marcilio.grisotto_jira Marcilio Grisotto (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

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