Skip to content

Commit

Permalink
Merge pull request #3164 from Submohr/patch-1
Browse files Browse the repository at this point in the history
Fix typo in StandardException documentation
  • Loading branch information
rzwitserloot committed Apr 2, 2022
2 parents 71fcc0a + c489a99 commit 578e4b8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -10,7 +10,7 @@

<@f.overview>
<p>
Put this annotation on your own exception types (new classes that <code>extends Exception</code> or anything else that inherits from <code>Throwable</code>. This annotation will then generate up to 4 constructors:
Put this annotation on your own exception types (new classes that <code>extends Exception</code> or anything else that inherits from <code>Throwable</code>). This annotation will then generate up to 4 constructors:
</p><ul>
<li>A no-args constructor (<code>MyException()</code>), representing no message, and no cause.</li>
<li>A message-only constructor (<code>MyException(String message)</code>), representing the provided message, and no cause.</li>
Expand Down

0 comments on commit 578e4b8

Please sign in to comment.