org.apache.turbine.modules.screens
Class VelocityErrorScreen

java.lang.Object
  |
  +--org.apache.turbine.modules.Assembler
        |
        +--org.apache.turbine.modules.Screen
              |
              +--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: VelocityErrorScreen.java,v 1.1.1.1 2001/08/16 05:08:36 jvanzyl Exp $
Author:
Gonzalo Diethelm

Fields inherited from class org.apache.turbine.modules.Screen
filter, minFilter
 
Constructor Summary
VelocityErrorScreen()
           
 
Method Summary
protected  void doBuildTemplate(RunData data, 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, getContext
 
Methods inherited from class org.apache.turbine.modules.screens.TemplateScreen
doBuild, doPostBuildTemplate, doRedirect, doRedirect, setTemplate
 
Methods inherited from class org.apache.turbine.modules.Screen
build, getLayout, htmlFilter, htmlMinFilter, prepareText, prepareTextMinimum, setLayout
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

VelocityErrorScreen

public VelocityErrorScreen()
Method Detail

doBuildTemplate

protected void doBuildTemplate(RunData data,
                               org.apache.velocity.context.Context context)
                        throws java.lang.Exception
Implement this to add information to the context.
Overrides:
doBuildTemplate in class VelocityScreen
Parameters:
data - Turbine information.
context - Context for web pages.
Throws:
Exception, - a generic exception.


Copyright © 2000-2002 Apache Software Foundation. All Rights Reserved.