Opened 4 years ago

Closed 4 years ago

#5 closed defect (fixed)

Check HTTP status code and Json Parse Exception

Reported by: martinP Owned by: martinP
Priority: critical Milestone:
Component: code Version:
Keywords: Cc: martin


HttpBivesClient? crashes, if the url ist not correct, because the parser can not parse an HTML error page.

Change History (2)

comment:1 Changed 4 years ago by martinP

  • Status changed from new to accepted

check for status code

comment:2 Changed 4 years ago by mp487 <martin.peters3@…>

  • Resolution set to fixed
  • Status changed from accepted to closed

In 50903c12076e1f1ebc864de81d5ed2b960b6a9d8:

added JsonSyntaxException? check
added JsonObject? == null check
[fixes #5]
updated maven version

Note: See TracTickets for help on using tickets.