org.apache.tapestry.corelib.pages
Class ExceptionReport

java.lang.Object
  extended by org.apache.tapestry.corelib.pages.ExceptionReport
All Implemented Interfaces:
ExceptionReporter

@ContentType(value="text/html")
public class ExceptionReport
extends Object
implements ExceptionReporter

Responsible for reporting runtime exceptions. This page is quite verbose and is usually overridden in a production application. When TapestryConstants.PRODUCTION_MODE_SYMBOL is "true", it is very abbreviated.

See Also:
ExceptionDisplay

Constructor Summary
ExceptionReport()
           
 
Method Summary
 Object getAttributeValue()
           
 boolean getHasSession()
           
 Session getSession()
           
 void reportException(Throwable exception)
          Used to communicate to the page what exception is to be reported.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionReport

public ExceptionReport()
Method Detail

reportException

public void reportException(Throwable exception)
Description copied from interface: ExceptionReporter
Used to communicate to the page what exception is to be reported.

Specified by:
reportException in interface ExceptionReporter

getHasSession

public boolean getHasSession()

getSession

public Session getSession()

getAttributeValue

public Object getAttributeValue()


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