Skip to content

Bitly.shorten must throw not RuntimeException but BitlyException #10

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. call Bitly.shorten(String)
2. bit.ly API returns no 200 response
3. Bitly.shorten(String) throws RuntimException

What is the expected output? What do you see instead?
  Bitly.shorten(String) throws BitlyException

What version of the product are you using? On what operating system?
  2.0.0

Please provide any additional information below.
  in SimpleProvider:100 fetchUrl throws BitlyException, but in 105 all exceptions are catched.

Original issue reported on code.google.com by dai.0...@gmail.com on 24 Apr 2012 at 11:14

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions