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 1695634 2015-08-13 00:35:47Z tv $
  Author:
    Gonzalo Diethelm, Henning P. Schmiedehausen, Peter Courcoux

- - ### Field Summary

    - ### Fields inherited from class org.apache.turbine.modules.screens.VelocityScreen

      `conf, templateService, velocity`

    - ### Fields inherited from class org.apache.turbine.modules.screens.TemplateScreen

      `log`

    - ### Fields inherited from class org.apache.turbine.modules.Screen

      `CACHE_SIZE_DEFAULT, CACHE_SIZE_KEY, NAME, PREFIX`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `VelocityErrorScreen()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and 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`

    - ### Methods inherited from class org.apache.turbine.modules.Screen

      `build, getLayout, getPrefix, setLayout`

    - ### Methods inherited from class org.apache.turbine.modules.Assembler

      `getRunData`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 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 class `VelocityScreen`
      Parameters:
        `pipelineData` - Turbine information.
        `context` - Context for web pages.
      Throws:
        `Exception` - a generic exception.

Copyright © 2000-2015 The Apache Software Foundation. All Rights Reserved.