Package gw.lang.parser.template
Class TemplateParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
gw.lang.parser.template.TemplateParseException
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String[]private intprivate intprivate intprivate ParseResultsExceptionprivate ResourceKeyprivate String -
Constructor Summary
ConstructorsConstructorDescriptionTemplateParseException(ParseResultsException pe, String strTemplateSource) TemplateParseException(ResourceKey reason, int lineNumber, int column, int offset, String... args) TemplateParseException(String strReason, ParseResultsException pe, String strTemplateSource, int lineNumber, int column, int offset, ResourceKey reason, String[] args) -
Method Summary
Modifier and TypeMethodDescriptionintintintprivate static StringmakeTemplateParseExceptionMessage(ParseResultsException e, String strCompiledSource) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
_pe
-
_reasonKey
-
_args
-
_strTemplateSource
-
_lineNumber
private int _lineNumber -
_column
private int _column -
_offset
private int _offset
-
-
Constructor Details
-
TemplateParseException
public TemplateParseException(ResourceKey reason, int lineNumber, int column, int offset, String... args) -
TemplateParseException
-
TemplateParseException
public TemplateParseException(String strReason, ParseResultsException pe, String strTemplateSource, int lineNumber, int column, int offset, ResourceKey reason, String[] args)
-
-
Method Details
-
getParseException
-
getTemplateSource
-
getLineNumber
public int getLineNumber() -
getMessage
- Overrides:
getMessagein classThrowable
-
makeTemplateParseExceptionMessage
private static String makeTemplateParseExceptionMessage(ParseResultsException e, String strCompiledSource) -
getColumn
public int getColumn() -
getOffset
public int getOffset()
-