Closed GoogleCodeExporter closed 9 years ago
When a Throwable doesn't accept a cause there are two possibilities:
1. It's very rare to have a cause exception, so the workaround is fine
2. It's common to have a cause exception and the creator of that Throwable
class just messed up.
The examples you cite are solidly in case #1, and even for hypothetical
examples in case #2 the proper solution is that the Throwable class itself
should be fixed.
Methods like this exist only to paper over bad API decisions in other libraries
and have no other discernible purpose. We decided long ago that it's not part
of Guava's mission in life to try to address such cases.
Original comment by kevinb@google.com
on 9 May 2013 at 8:23
This issue has been migrated to GitHub.
It can be found at https://github.com/google/guava/issues/<issue id>
Original comment by cgdecker@google.com
on 1 Nov 2014 at 4:12
Original comment by cgdecker@google.com
on 3 Nov 2014 at 9:08
Original issue reported on code.google.com by
phwend...@gmail.com
on 8 May 2013 at 8:59