Package freemarker.core
Class StopException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- freemarker.template.TemplateException
-
- freemarker.core.StopException
-
- All Implemented Interfaces:
Serializable
public class StopException extends TemplateException
This exception is thrown when a <stop> directive is encountered.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StopException(Environment env)StopException(Environment env, String s)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprintStackTrace(PrintStream ps)voidprintStackTrace(PrintWriter pw)-
Methods inherited from class freemarker.template.TemplateException
getCauseException, getEnvironment, getFTLInstructionStack, getFTLStack
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
StopException
public StopException(Environment env)
-
StopException
public StopException(Environment env, String s)
-
-
Method Detail
-
printStackTrace
public void printStackTrace(PrintWriter pw)
- Overrides:
printStackTracein classTemplateException
-
printStackTrace
public void printStackTrace(PrintStream ps)
- Overrides:
printStackTracein classTemplateException
-
-