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