Make clear why sonar finding is suppressed

This commit is contained in:
Sebastian Sdorra
2020-08-12 14:17:48 +02:00
parent c622e6ff7a
commit ab508c6c96
2 changed files with 2 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ import sonia.scm.ContextEntry;
import java.util.List;
@SuppressWarnings("squid:S110")
@SuppressWarnings("squid:MaximumInheritanceDepth") // exceptions have a deep inheritance depth themselves; therefore we accept this here
public class NotPublicKeyException extends BadRequestException {
public NotPublicKeyException(List<ContextEntry> context, String message) {
super(context, message);