Skip to content

Commit

Permalink
Document RethrowReflectiveOperationExceptionAsLinkageError
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 474890217
  • Loading branch information
cushon authored and Error Prone Team committed Sep 16, 2022
1 parent ceaf641 commit a034969
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Consider using `LinkageError` instead of `AssertionError` when rethrowing
reflective exceptions as unchecked exceptions, since it conveys more information
when reflection fails due to an incompatible change in the classpath.

0 comments on commit a034969

Please sign in to comment.