Skip to content

UserAgentParseException should not be a RuntimeException #2

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Give UserAgentParser a bad User Agent string
2. Exception will be thrown

What is the expected output? What do you see instead?
The Exception is not a checked exception.  This can lead to failures in 
downstream code when the UserAgent is incorrect.  Instead users of this parser 
should be required to properly catch this exception and handle it as they see 
fit.



Original issue reported on code.google.com by [email protected] on 30 Mar 2011 at 6:05

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions