Package groovy.text
Class TemplateExecutionException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- groovy.text.TemplateExecutionException
 
 
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class TemplateExecutionException extends Exception A custom exception class to flag template execution errors- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description TemplateExecutionException(int lineNumber)TemplateExecutionException(int lineNumber, String message)TemplateExecutionException(int lineNumber, String message, Throwable cause)TemplateExecutionException(int lineNumber, Throwable cause)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetLineNumber()Returns the line number in the template source where the error occurred- 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
TemplateExecutionExceptionpublic TemplateExecutionException(int lineNumber) 
 - 
TemplateExecutionExceptionpublic TemplateExecutionException(int lineNumber, String message)
 - 
TemplateExecutionExceptionpublic TemplateExecutionException(int lineNumber, String message, Throwable cause)
 - 
TemplateExecutionExceptionpublic TemplateExecutionException(int lineNumber, Throwable cause)
 
- 
 
-