Package groovy.text
Class TemplateParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
groovy.text.TemplateParseException
- All Implemented Interfaces:
Serializable
public class TemplateParseException extends RuntimeException
A custom exception class to flag template parsing errors
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description TemplateParseException(int lineNumber, int column)
TemplateParseException(String message, int lineNumber, int column)
TemplateParseException(String message, Throwable cause, int lineNumber, int column)
TemplateParseException(Throwable t, int lineNumber, int column)
-
Method Summary
Modifier and Type Method Description int
getColumn()
int
getLineNumber()
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TemplateParseException
public TemplateParseException(int lineNumber, int column) -
TemplateParseException
-
TemplateParseException
-
TemplateParseException
-
-
Method Details
-
getLineNumber
public int getLineNumber() -
getColumn
public int getColumn()
-