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

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

    XMLWordPrintable

Details

    • Patch
    • Resolution: Done
    • Trivial
    • None
    • 2.0.1.GA
    • None
    • 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();"

      Attachments

        Activity

          People

            patriot1burke@gmail.com Bill Burke (Inactive)
            marcilio.grisotto_jira Marcilio Grisotto (Inactive)
            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