SONARJAVA-256 Allow exceptions to be propagated