Package net.sourceforge.pmd.lang.ast
Class ParseException
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.ParseException
- All Implemented Interfaces:
Serializable,org.apache.commons.lang3.exception.ExceptionContext
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionParseException(@NonNull JavaccToken currentTokenVal, int[][] expectedTokenSequencesVal) This constructor is called by Javacc.ParseException(String message) ParseException(Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected @Nullable FileLocationlocation()withLocation(FileLocation loc) withLocation(Reportable reportable) Methods inherited from class net.sourceforge.pmd.lang.ast.FileAnalysisException
getFileId, getMessage, hasFileName, 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
-
ParseException
-
ParseException
-
ParseException
This constructor is called by Javacc.
-
-
Method Details
-
withLocation
-
withLocation
-
errorKind
- Overrides:
errorKindin classFileAnalysisException
-
location
- Overrides:
locationin classFileAnalysisException
-