Skip to content

Commit

Permalink
Minor correction to SneakyThrows javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebosman committed Jun 25, 2024
1 parent 30e19e4 commit 48ad2ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/lombok/SneakyThrows.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
import java.lang.annotation.Target;

/**
* @SneakyThrow will avoid javac's insistence that you either catch or throw onward any checked exceptions that
* @SneakyThrows will avoid javac's insistence that you either catch or throw onward any checked exceptions that
* statements in your method body declare they generate.
* <p>
* &#64;SneakyThrow does not silently swallow, wrap into RuntimeException, or otherwise modify any exceptions of the listed
* &#64;SneakyThrows does not silently swallow, wrap into RuntimeException, or otherwise modify any exceptions of the listed
* checked exception types. The JVM does not check for the consistency of the checked exception system; javac does,
* and this annotation lets you opt out of its mechanism.
* <p>
Expand Down

0 comments on commit 48ad2ba

Please sign in to comment.