org.apache.tapestry5.corelib.pages
Class ExceptionReport
java.lang.Object
org.apache.tapestry5.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 SymbolConstants.PRODUCTION_MODE
is "true", it is very abbreviated.
- See Also:
ExceptionDisplay
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExceptionReport
public ExceptionReport()
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
- Parameters:
exception
- runtime exception thrown during processing of the request
getHasSession
public boolean getHasSession()
getSession
public Session getSession()
getAttributeValue
public Object getAttributeValue()
getSystemProperties
public List<String> getSystemProperties()
- Returns a sorted list of system property names.
getPropertyValue
public String getPropertyValue()
isComplexProperty
public boolean isComplexProperty()
getComplexPropertyValue
public String[] getComplexPropertyValue()
Copyright © 2003-2012 The Apache Software Foundation.