aboutsummaryrefslogtreecommitdiff
path: root/website/features/SneakyThrows.html
diff options
context:
space:
mode:
Diffstat (limited to 'website/features/SneakyThrows.html')
-rw-r--r--website/features/SneakyThrows.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/website/features/SneakyThrows.html b/website/features/SneakyThrows.html
index 3f414bab..ec7d09c5 100644
--- a/website/features/SneakyThrows.html
+++ b/website/features/SneakyThrows.html
@@ -54,6 +54,8 @@
<div class="overview">
<h3>Small print</h3><div class="smallprint">
<p>
+ <code>@SneakyThrows</code> is an implementation of this feature request: <a href="http://bugs.sun.com/view_bug.do?bug_id=6534270">http://bugs.sun.com/view_bug.do?bug_id=6534270</a>.
+ </p><p>
Because <code>@SneakyThrows</code> is an implementation detail and not part of your method signature, it is an error if you try to
declare a checked exception as sneakily thrown when you don't call any methods that throw this exception. (Doing so is perfectly legal
for <code>throws</code> statements to accomodate subclasses). Similarly, <code>@SneakyThrows</code> does not inherit.