Skip to content

Commit

Permalink
SwallowedException: Slightly improve the documentation (#3527)
Browse files Browse the repository at this point in the history
As a follow-up to #3525.
  • Loading branch information
sschuberth committed Mar 7, 2021
1 parent 9cf9f08 commit 2705e6b
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -26,7 +26,7 @@ import org.jetbrains.kotlin.psi.psiUtil.getStrictParentOfType

/**
* Exceptions should not be swallowed. This rule reports all instances where exceptions are `caught` and not correctly
* passed into a newly thrown exception.
* passed (e.g. as a cause) into a newly thrown exception.
*
* <noncompliant>
* fun foo() {
Expand Down Expand Up @@ -63,7 +63,7 @@ import org.jetbrains.kotlin.psi.psiUtil.getStrictParentOfType
* }
* </compliant>
*
* @configuration ignoredExceptionTypes - exception types which should be ignored by this rule
* @configuration ignoredExceptionTypes - exception types which should be ignored (both in the catch clause and body)
* (default: `- InterruptedException
* - NumberFormatException
* - ParseException
Expand Down

0 comments on commit 2705e6b

Please sign in to comment.