Package com.hubspot.jinjava.interpret
Class DeferredValueException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.hubspot.jinjava.interpret.InterpretException
com.hubspot.jinjava.interpret.DeferredValueException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CannotReconstructValueException
,DeferredParsingException
Exception thrown when attempting to render a
DeferredValue
.
The exception is effectively used for flow control, to unwind evaluating a template Node
and instead echo its contents to the output.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDeferredValueException
(String message) DeferredValueException
(String variable, int lineNumber, int startPosition) -
Method Summary
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
-
Field Details
-
MESSAGE_PREFIX
- See Also:
-
-
Constructor Details
-
DeferredValueException
-
DeferredValueException
-