Package com.hubspot.jinjava.interpret
Class InterpretException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.hubspot.jinjava.interpret.InterpretException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DeferredValueException
,DisabledException
,FatalTemplateErrorsException
,IndexOutOfRangeException
,TemplateStateException
,TemplateSyntaxException
,UnknownTokenException
public class InterpretException extends RuntimeException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InterpretException(String msg)
InterpretException(String msg, int lineNumber)
InterpretException(String msg, int lineNumber, int startPosition)
InterpretException(String msg, Throwable e)
InterpretException(String msg, Throwable throwable, int lineNumber)
InterpretException(String msg, Throwable e, int lineNumber, int startPosition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLineNumber()
int
getStartPosition()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InterpretException
public InterpretException(String msg)
-
InterpretException
public InterpretException(String msg, int lineNumber)
-
InterpretException
public InterpretException(String msg, int lineNumber, int startPosition)
-
InterpretException
public InterpretException(String msg, Throwable e, int lineNumber, int startPosition)
-
-