com.webobjects.woextensions
Class WOExceptionPage
java.lang.Object
|
+--com.webobjects.appserver.WOElement
|
+--com.webobjects.appserver.WOComponent
|
+--com.webobjects.woextensions.WOExceptionPage
- All Implemented Interfaces:
- Cloneable, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, Serializable, WOActionResults
- public class WOExceptionPage
- extends WOComponent
- See Also:
- Serialized Form
Methods inherited from class com.webobjects.appserver.WOComponent |
appendToResponse, application, awake, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, descriptionForResponse, ensureAwakeInContext, frameworkName, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasBinding, hasSession, invokeAction, isCachingEnabled, isStateless, logString, name, pageWithName, parent, path, performParentAction, pullValuesFromParent, pushValuesToParent, reset, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, sleep, synchronizesVariablesWithBindings, takeValueForKey, takeValueForKeyPath, takeValuesFromRequest, template, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBinding, valueForKey, valueForKeyPath |
currentReasonLine
public String currentReasonLine
error
public WOExceptionParser error
errorline
public WOParsedErrorLine errorline
exception
public Throwable exception
WOExceptionPage
public WOExceptionPage(WOContext aContext)
errorMessage
public String errorMessage()
generateResponse
public WOResponse generateResponse()
- Description copied from class:
WOComponent
- Conformance to WOActionResults.
Returns a newly-created WOResponse object. WOComponent's default implementation of
this method translates the receiving component into a new WOResponse object by
invoking
appendToResponse
on itself.
- Overrides:
generateResponse
in class WOComponent
- Following copied from class:
com.webobjects.appserver.WOComponent
- Returns:
- an HTTP response that the application will to a Web
server to complete a cycle of the request-response loop
- See Also:
WOComponent.appendToResponse(WOResponse, WOContext)
,
WOResponse.generateResponse()
isEventLoggingEnabled
public boolean isEventLoggingEnabled()
- Description copied from class:
WOComponent
- Called to determine if a component wants event logging. This is
not desirable, for example, for components which are associated
with events as they would interfere with the actual event
logging. The default implementation of this method returns
true
.
- Overrides:
isEventLoggingEnabled
in class WOComponent
- Following copied from class:
com.webobjects.appserver.WOComponent
- Returns:
true
if the event logging is enabled for the component, false
otherwise- See Also:
WOEvent
reasonLines
public NSArray reasonLines()
setException
public void setException(Throwable newException)
showDetails
public boolean showDetails()
Copyright © 2003 Apple Computer, Inc.