Class VelocityErrorScreen
- java.lang.Object
-
- org.apache.turbine.modules.screens.TemplateScreen
-
- org.apache.turbine.modules.screens.VelocityScreen
-
- org.apache.turbine.modules.screens.VelocityErrorScreen
-
public class VelocityErrorScreen extends VelocityScreen
VelocityErrorScreen screen - directs errors at the velocity error template defined in template.error.- Version:
- $Id$
- Author:
- Gonzalo Diethelm, Henning P. Schmiedehausen, Peter Courcoux
-
-
Field Summary
-
Fields inherited from class org.apache.turbine.modules.screens.VelocityScreen
prefix, templateError, templateService, velocity
-
Fields inherited from class org.apache.turbine.modules.screens.TemplateScreen
log
-
Fields inherited from interface org.apache.turbine.modules.Screen
CACHE_SIZE_DEFAULT, CACHE_SIZE_KEY, NAME, PREFIX
-
-
Constructor Summary
Constructors Constructor Description VelocityErrorScreen()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doBuildTemplate(PipelineData pipelineData, org.apache.velocity.context.Context context)
Implement this to add information to the context.-
Methods inherited from class org.apache.turbine.modules.screens.VelocityScreen
buildTemplate, doBuildTemplate
-
Methods inherited from class org.apache.turbine.modules.screens.TemplateScreen
doBuild, doPostBuildTemplate, doRedirect, doRedirect, setTemplate
-
-
-
-
Constructor Detail
-
VelocityErrorScreen
public VelocityErrorScreen()
-
-
Method Detail
-
doBuildTemplate
protected void doBuildTemplate(PipelineData pipelineData, org.apache.velocity.context.Context context) throws Exception
Implement this to add information to the context.- Overrides:
doBuildTemplate
in classVelocityScreen
- Parameters:
pipelineData
- Turbine information.context
- Context for web pages.- Throws:
Exception
- a generic exception.
-
-