Package net.sourceforge.pmd.lang.ast
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SemanticException()
SemanticException(String message)
SemanticException(String message, Throwable cause)
SemanticException(Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setReported()
boolean
wasReported()
-
Methods inherited from class net.sourceforge.pmd.lang.ast.FileAnalysisException
errorKind, getFileId, getMessage, hasFileName, location, setFileId, wrap
-
Methods inherited from class org.apache.commons.lang3.exception.ContextedRuntimeException
addContextValue, getContextEntries, getContextLabels, getContextValues, getFirstContextValue, getFormattedExceptionMessage, getRawMessage, setContextValue
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
setReported
@InternalApi public void setReported()
-
wasReported
public boolean wasReported()
-
-