Package freemarker.core
Class StopException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- freemarker.template.TemplateException
-
- freemarker.core.StopException
-
- All Implemented Interfaces:
java.io.Serializable
public class StopException extends TemplateException
This exception is thrown when a #stop directive is encountered.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprintStackTrace(java.io.PrintStream ps)OverridesThrowable.printStackTrace(PrintStream)so that it will include the FTL stack trace.voidprintStackTrace(java.io.PrintWriter pw)OverridesThrowable.printStackTrace(PrintWriter)so that it will include the FTL stack trace.-
Methods inherited from class freemarker.template.TemplateException
getBlamedExpressionString, getCauseException, getColumnNumber, getEndColumnNumber, getEndLineNumber, getEnvironment, getFTLInstructionStack, getLineNumber, getMessage, getMessageWithoutStackTop, getTemplateName, getTemplateSourceName, printStackTrace, printStackTrace, printStandardStackTrace, printStandardStackTrace
-
-
-
-
Method Detail
-
printStackTrace
public void printStackTrace(java.io.PrintWriter pw)
Description copied from class:TemplateExceptionOverridesThrowable.printStackTrace(PrintWriter)so that it will include the FTL stack trace.- Overrides:
printStackTracein classTemplateException
-
printStackTrace
public void printStackTrace(java.io.PrintStream ps)
Description copied from class:TemplateExceptionOverridesThrowable.printStackTrace(PrintStream)so that it will include the FTL stack trace.- Overrides:
printStackTracein classTemplateException
-
-