kucci / guava-libraries

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

Use @Nonnull for ComputationException and subclass constructor argument #441

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Are there any places where a ComputationException is thrown that it does not 
have a null Throwable argument?

It would be nice to count on there always being an exception, so how about 
adding @Nonnull to the constructor argument?

Original issue reported on code.google.com by blair-ol...@orcaware.com on 1 Oct 2010 at 6:24

GoogleCodeExporter commented 9 years ago
Users are allowed to throw their own ComputationExceptions from their Functions 
for any reason.  If they do, we won't re-wrap it in our own.  Of course, they 
might not have a throwable to chain in some situations.

Original comment by kevinb@google.com on 4 Oct 2010 at 1:55

GoogleCodeExporter commented 9 years ago
This issue has been migrated to GitHub.

It can be found at https://github.com/google/guava/issues/<id>

Original comment by cgdecker@google.com on 1 Nov 2014 at 4:15

GoogleCodeExporter commented 9 years ago

Original comment by cgdecker@google.com on 3 Nov 2014 at 9:09