k4zy / doclava

Automatically exported from code.google.com/p/doclava
Apache License 2.0
0 stars 0 forks source link

Behavior of warnings on declared RuntimeExceptions #52

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Build AOSP

What is the expected output? What do you see instead?

No warnings for methods that do not declare that they throw RuntimeExceptions.

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

ICS

Please provide any additional information below.

In APIs like Proxy we generate warnings if an RI declared thrown exception 
isn't declared as thrown. We should ignore the case that this exception is a 
RuntimeException such as IllegalArgumentException.

Original issue reported on code.google.com by irog...@google.com on 27 Feb 2012 at 1:21