Throwing java.lang.Error or java.lang.RuntimeException is almost never acceptable.

This rule is deprecated, use {rule:squid:S00112} instead.