• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pmd / pmd / 380

29 Jan 2026 03:55PM UTC coverage: 78.964%. Remained the same
380

push

github

adangel
[doc] ADR 3: Clarify javadoc tags (#6392)

18537 of 24358 branches covered (76.1%)

Branch coverage included in aggregate %.

40391 of 50268 relevant lines covered (80.35%)

0.81 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

41.67
/pmd-core/src/main/java/net/sourceforge/pmd/lang/ast/SemanticException.java
1
/*
2
 * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
3
 */
4

5
package net.sourceforge.pmd.lang.ast;
6

7
import net.sourceforge.pmd.annotation.InternalApi;
8

9
/**
10
 * An error that occurs after validating a file.
11
 */
12
public class SemanticException extends FileAnalysisException {
13

14
    private boolean reported = false;
1✔
15

16
    public SemanticException() {
17
        super();
×
18
    }
×
19

20
    public SemanticException(String message) {
21
        super(message);
1✔
22
    }
1✔
23

24
    public SemanticException(Throwable cause) {
25
        super(cause);
×
26
    }
×
27

28
    public SemanticException(String message, Throwable cause) {
29
        super(message, cause);
×
30
    }
×
31

32
    /**
33
     * @internalApi None of this is published API, and compatibility can be broken anytime! Use this only at your own risk.
34
     */
35
    @InternalApi
36
    public void setReported() {
37
        reported = true;
1✔
38
    }
1✔
39

40
    public boolean wasReported() {
41
        return reported;
×
42
    }
43
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc