Class ExceptionReport
java.lang.Object
org.apache.tapestry5.corelib.base.AbstractInternalPage
org.apache.tapestry5.corelib.pages.ExceptionReport
- All Implemented Interfaces:
ExceptionReporter
@UnknownActivationContextCheck(false)
@ContentType("text/html")
@Import(stylesheet="ExceptionReport.css")
public class ExceptionReport
extends AbstractInternalPage
implements ExceptionReporter
Responsible for reporting runtime exceptions. This page is quite verbose and is usually overridden in a production
application. When
TapestryHttpSymbolConstants.PRODUCTION_MODE
is "true", it is very abbreviated.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A link the user may press to perform an action (e.g., "Reload page").class
-
Field Summary
Fields inherited from class org.apache.tapestry5.corelib.base.AbstractInternalPage
request
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]
boolean
Returns a sorted list of system property names.boolean
boolean
Returns true for normal, non-XHR requests.boolean
Returns true in development mode; enables the "with reload" actions.void
reportException
(Throwable exception) Used to communicate to the page what exception is to be reported.
-
Constructor Details
-
ExceptionReport
public ExceptionReport()
-
-
Method Details
-
isShowActions
Returns true for normal, non-XHR requests. Links (to the failure page, or to root page) are only presented if showActions is true. -
isShowReload
Returns true in development mode; enables the "with reload" actions. -
reportException
Description copied from interface:ExceptionReporter
Used to communicate to the page what exception is to be reported.- Specified by:
reportException
in interfaceExceptionReporter
- Parameters:
exception
- runtime exception thrown during processing of the request
-
getActionLinks
-
getHasSession
-
getSession
-
getAttributeValue
-
getSystemProperties
Returns a sorted list of system property names. -
getPropertyValue
-
isComplexProperty
-
getComplexPropertyValue
-
getThreads
-