org.apache.cocoon.sitemap
Class ErrorNotifier

java.lang.Object
  |
  +--org.apache.avalon.framework.logger.AbstractLoggable
        |
        +--org.apache.cocoon.xml.AbstractXMLProducer
              |
              +--org.apache.cocoon.generation.AbstractGenerator
                    |
                    +--org.apache.cocoon.generation.ComposerGenerator
                          |
                          +--org.apache.cocoon.sitemap.NotifyingGenerator
                                |
                                +--org.apache.cocoon.sitemap.ErrorNotifier
All Implemented Interfaces:
org.apache.avalon.framework.component.Component, org.apache.avalon.framework.component.Composable, org.apache.avalon.framework.activity.Disposable, Generator, org.apache.avalon.framework.logger.Loggable, org.apache.avalon.excalibur.pool.Poolable, org.apache.avalon.excalibur.pool.Recyclable, SitemapModelComponent, XMLProducer

Deprecated. Now using NotifyingGenerator in sitemap

public class ErrorNotifier
extends NotifyingGenerator

Generates an XML representation of the current notification.

Version:
CVS $Id: ErrorNotifier.java,v 1.4.2.1 2002/07/15 14:52:59 cziegeler Exp $
Author:
Nicola Ken Barozzi, Stefano Mazzocchi

Fields inherited from class org.apache.cocoon.generation.ComposerGenerator
manager
 
Fields inherited from class org.apache.cocoon.generation.AbstractGenerator
objectModel, parameters, resolver, source
 
Fields inherited from class org.apache.cocoon.xml.AbstractXMLProducer
contentHandler, lexicalHandler, xmlConsumer
 
Fields inherited from interface org.apache.cocoon.generation.Generator
ROLE
 
Constructor Summary
ErrorNotifier()
          Deprecated.  
 
Method Summary
 void setThrowable(java.lang.Throwable throwable)
          Deprecated. Now it gets the Exception from the ObjectModel
 void setup(SourceResolver resolver, java.util.Map objectModel, java.lang.String src, org.apache.avalon.framework.parameters.Parameters par)
          Deprecated. Set the SourceResolver, object model Map, the source and sitemap Parameters used to process the request.
 
Methods inherited from class org.apache.cocoon.sitemap.NotifyingGenerator
generate, recycle
 
Methods inherited from class org.apache.cocoon.generation.ComposerGenerator
compose, dispose
 
Methods inherited from class org.apache.cocoon.xml.AbstractXMLProducer
setConsumer, setContentHandler, setLexicalHandler
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLoggable
getLogger, setLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cocoon.xml.XMLProducer
setConsumer
 

Constructor Detail

ErrorNotifier

public ErrorNotifier()
Deprecated. 
Method Detail

setup

public void setup(SourceResolver resolver,
                  java.util.Map objectModel,
                  java.lang.String src,
                  org.apache.avalon.framework.parameters.Parameters par)
           throws ProcessingException,
                  org.xml.sax.SAXException,
                  java.io.IOException
Deprecated. 
Description copied from class: AbstractGenerator
Set the SourceResolver, object model Map, the source and sitemap Parameters used to process the request.
Overrides:
setup in class NotifyingGenerator

setThrowable

public void setThrowable(java.lang.Throwable throwable)
Deprecated. Now it gets the Exception from the ObjectModel

Set the Notification to report.
Parameters:
exception - The Exception to report


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