Package groovy.text
Class TemplateExecutionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- groovy.text.TemplateExecutionException
-
- All Implemented Interfaces:
java.io.Serializable
public class TemplateExecutionException extends java.lang.Exception
A custom exception class to flag template execution errors- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TemplateExecutionException(int lineNumber)
TemplateExecutionException(int lineNumber, java.lang.String message)
TemplateExecutionException(int lineNumber, java.lang.String message, java.lang.Throwable cause)
TemplateExecutionException(int lineNumber, java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLineNumber()
Returns the line number in the template source where the error occurred
-
-
-
Constructor Detail
-
TemplateExecutionException
public TemplateExecutionException(int lineNumber)
-
TemplateExecutionException
public TemplateExecutionException(int lineNumber, java.lang.String message)
-
TemplateExecutionException
public TemplateExecutionException(int lineNumber, java.lang.String message, java.lang.Throwable cause)
-
TemplateExecutionException
public TemplateExecutionException(int lineNumber, java.lang.Throwable cause)
-
-