0

My test in sonarcloud reports this error that I have never found anywhere.

public class PngjPrematureEnding extends PngjInputException {

    public PngjPrematureEnding(String message) {
        super(message);
    }

}

How should I redefine this class?

Cangiante
  • 1
  • 1
  • Impossible to answer without knowing your class hierarchy. The complaint is about you class hierarchy. Maybe you should favor composition over inheritance. If you want to stick with your class hierarchy, configure sonar's threshold higher. – Robert Jun 04 '22 at 15:26

0 Answers0