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
An error that occurs after validating a file.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSemanticException(String message) SemanticException(String message, Throwable cause) SemanticException(Throwable cause) -
Method Summary
Methods inherited from class net.sourceforge.pmd.lang.ast.FileAnalysisException
errorKind, getFileId, getMessage, hasFileName, location, setFileId, wrapMethods inherited from class org.apache.commons.lang3.exception.ContextedRuntimeException
addContextValue, getContextEntries, getContextLabels, getContextValues, getFirstContextValue, getFormattedExceptionMessage, getRawMessage, setContextValueMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SemanticException
public SemanticException() -
SemanticException
-
SemanticException
-
SemanticException
-
-
Method Details
-
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()
-