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, IDirectEvent, Component, IRender, ITemplateComponent

public abstract class ExceptionDisplay
extends BaseComponent

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

Author:
Howard Lewis Ship

Field Summary
 
Fields inherited from class org.apache.tapestry.AbstractComponent
_body, _bodyCount
 
Constructor Summary
ExceptionDisplay()
           
 
Method Summary
abstract  int getCount()
           
 ExceptionDescription getException()
           
abstract  ExceptionDescription[] getExceptions()
           
abstract  int getIndex()
           
abstract  List getPackages()
           
 String getStackClass()
           
abstract  String getTrace()
           
 boolean isInPackage()
           
 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, getContainedRenderers, getInnerRenderers
 
Methods inherited from class org.apache.tapestry.AbstractComponent
addAsset, addBody, addComponent, checkActiveLock, cleanupAfterRender, enterActiveState, equals, finishLoad, generateClientId, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getBoundId, getClientId, getComponent, getComponents, getContainedComponent, getContainer, getEventInvoker, getExtendedId, getId, getIdPath, getListeners, getMessages, getNamespace, getPage, getRenderWorker, getSpecification, getSpecifiedId, getTemplateTagName, hasEvents, hashCode, isInActiveState, isParameterBound, isRendering, isStateful, pageEndRender, peekClientId, prepareForRender, render, renderBody, renderIdAttribute, renderInformalParameters, setBinding, setClientId, setContainedComponent, setContainer, setHasEvents, setId, setNamespace, setPage, setTemplateTagName, toString, triggerEvent
 
Methods inherited from class org.apache.hivemind.impl.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.tapestry.IComponent
addAsset, addBody, addComponent, enterActiveState, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getClientId, getComponent, getComponents, getContainedComponent, getContainer, getEventInvoker, getExtendedId, getId, getIdPath, getListeners, getMessages, getNamespace, getPage, getSpecification, getSpecifiedId, getTemplateTagName, isRendering, peekClientId, renderBody, setBinding, setClientId, setContainedComponent, setContainer, setId, setNamespace, setPage, setTemplateTagName
 
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

getIndex

public abstract int getIndex()

getCount

public abstract int getCount()

setCount

public abstract void setCount(int count)

getExceptions

public abstract ExceptionDescription[] getExceptions()

getPackages

public abstract List getPackages()
Since:
4.1.4

getTrace

public abstract String getTrace()

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()

isInPackage

public boolean isInPackage()

getStackClass

public String getStackClass()


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.