Avoid throwing in finally blocks

Proprietary

Finds throw statements inside finally blocks. Throwing in a finally block can mask the original exception, making debugging harder.

org.openrewrite.scala.safety.AvoidThrowInFinally
mod run . --recipe=org.openrewrite.scala.safety.AvoidThrowInFinally

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.