Class MalformedSourceException
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.impl.javacc.MalformedSourceException
- All Implemented Interfaces:
Serializable,org.apache.commons.lang3.exception.ExceptionContext
A
FileAnalysisException thrown when the source format is invalid,
for example if some unicode escapes cannot be translated.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMalformedSourceException(String message, Throwable cause, FileLocation fileLocation) -
Method Summary
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
-
MalformedSourceException
-
-
Method Details
-
location
- Overrides:
locationin classFileAnalysisException
-
errorKind
- Overrides:
errorKindin classFileAnalysisException
-