Package com.hubspot.jinjava.interpret
Class FatalTemplateErrorsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.hubspot.jinjava.interpret.InterpretException
-
- com.hubspot.jinjava.interpret.FatalTemplateErrorsException
-
- All Implemented Interfaces:
Serializable
public class FatalTemplateErrorsException extends InterpretException
Container exception thrown when fatal errors are encountered while rendering a template.- Author:
- jstehler
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FatalTemplateErrorsException(String template, Collection<TemplateError> errors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<TemplateError>
getErrors()
String
getTemplate()
-
Methods inherited from class com.hubspot.jinjava.interpret.InterpretException
getLineNumber, getStartPosition
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
FatalTemplateErrorsException
public FatalTemplateErrorsException(String template, Collection<TemplateError> errors)
-
-
Method Detail
-
getTemplate
public String getTemplate()
-
getErrors
public Iterable<TemplateError> getErrors()
-
-