mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 14:16:11 +00:00
Merge pull request #3698 from stevebosman/fix-sneaky-throws-doc
Minor correction to SneakyThrows javadoc
This commit is contained in:
1 file changed
+2
-2
@@ -27,10 +27,10 @@ import java.lang.annotation.RetentionPolicy;
|
||||
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>
|
||||
* @SneakyThrow does not silently swallow, wrap into RuntimeException, or otherwise modify any exceptions of the listed
|
||||
* @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>
|
||||
|
||||
Reference in new issue
Block a user