Package com.igormaznitsa.jcp.exceptions
Class PreprocessorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.igormaznitsa.jcp.exceptions.PreprocessorException
- All Implemented Interfaces:
Serializable
The exception allows to save some useful data about preprocessing files like the current include stack and the error string index
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final FilePositionInfo[]
private final String
private static final long
-
Constructor Summary
ConstructorsConstructorDescriptionPreprocessorException
(String message, String processedText, FilePositionInfo[] includeStack, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionprivate String
static PreprocessorException
int
private static String
makeStackView
(FilePositionInfo[] list, char fill) static String
referenceAsString
(char fillChar, Throwable thr) toString()
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
processingString
-
includeStack
-
-
Constructor Details
-
PreprocessorException
public PreprocessorException(String message, String processedText, @MustNotContainNull FilePositionInfo[] includeStack, Throwable cause)
-
-
Method Details