org.apache.tapestry.html
Class ExceptionDisplay

java.lang.Object
  extended by org.apache.hivemind.impl.BaseLocatable
      extended by org.apache.tapestry.AbstractComponent
          extended by org.apache.tapestry.BaseComponent
              extended by org.apache.tapestry.html.ExceptionDisplay
All Implemented Interfaces:
org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, IComponent, IRender, ITemplateComponent

public abstract class ExceptionDisplay
extends BaseComponent

Component used to display an already formatted exception. [ Component Reference ]

Author:
Howard Lewis Ship

Constructor Summary
ExceptionDisplay()
           
 
Method Summary
abstract  int getCount()
           
 ExceptionDescription getException()
           
abstract  ExceptionDescription[] getExceptions()
           
abstract  int getIndex()
           
 boolean isLast()
           
protected  void renderComponent(IMarkupWriter writer, IRequestCycle cycle)
          Renders the top level components contained by the receiver.
abstract  void setCount(int count)
           
 void setException(ExceptionDescription value)
          Each time the current exception is set, as a side effect, the evenOdd helper bean is reset to even.
 
Methods inherited from class org.apache.tapestry.BaseComponent
addOuter, finishLoad
 
Methods inherited from class org.apache.tapestry.AbstractComponent
addAsset, addBody, addComponent, checkActiveLock, cleanupAfterRender, enterActiveState, finishLoad, format, format, format, format, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getComponent, getComponents, getContainedComponent, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isInActiveState, isParameterBound, isRendering, pageEndRender, prepareForRender, render, renderBody, renderInformalParameters, setBinding, setContainedComponent, setContainer, setId, setNamespace, setPage, setProperty, toString
 
Methods inherited from class org.apache.hivemind.impl.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.tapestry.IComponent
addAsset, addBody, addComponent, enterActiveState, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getComponent, getComponents, getContainedComponent, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isRendering, renderBody, setBinding, setContainedComponent, setContainer, setId, setNamespace, setPage, setProperty
 
Methods inherited from interface org.apache.tapestry.IRender
render
 
Methods inherited from interface org.apache.hivemind.LocationHolder
setLocation
 
Methods inherited from interface org.apache.hivemind.Locatable
getLocation
 

Constructor Detail

ExceptionDisplay

public ExceptionDisplay()
Method Detail

getExceptions

public abstract ExceptionDescription[] getExceptions()

getIndex

public abstract int getIndex()

getCount

public abstract int getCount()

setCount

public abstract void setCount(int count)

setException

public void setException(ExceptionDescription value)
Each time the current exception is set, as a side effect, the evenOdd helper bean is reset to even.


getException

public ExceptionDescription getException()

renderComponent

protected void renderComponent(IMarkupWriter writer,
                               IRequestCycle cycle)
Description copied from class: BaseComponent
Renders the top level components contained by the receiver.

Overrides:
renderComponent in class BaseComponent

isLast

public boolean isLast()