Class SemanticException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.commons.lang3.exception.ContextedRuntimeException
net.sourceforge.pmd.lang.ast.FileAnalysisException
net.sourceforge.pmd.lang.ast.SemanticException
All Implemented Interfaces:
Serializable, org.apache.commons.lang3.exception.ExceptionContext

public class SemanticException extends FileAnalysisException
An error that occurs after validating a file.
See Also:
  • Constructor Details

    • SemanticException

      public SemanticException()
    • SemanticException

      public SemanticException(String message)
    • SemanticException

      public SemanticException(Throwable cause)
    • SemanticException

      public SemanticException(String message, Throwable cause)
  • Method Details

    • setReported

      @InternalApi public void setReported()
      Internal API:
      None of this is published API, and compatibility can be broken anytime! Use this only at your own risk.
    • wasReported

      public boolean wasReported()