com.webobjects.woextensions
Class WOExceptionPage
java.lang.Object
com.webobjects.appserver.WOElement
com.webobjects.appserver.WOComponent
com.webobjects.woextensions.WOExceptionPage
- All Implemented Interfaces:
- WOActionResults, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, Serializable, Cloneable
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, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasBinding, hasSession, invokeAction, isCachingEnabled, isStateless, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, reset, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, setVariableValueForName, sleep, synchronizesVariablesWithBindings, takeValueForKey, takeValueForKeyPath, takeValuesFromRequest, template, templateWithHTMLString, templateWithHTMLString, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBinding, valueForBooleanBinding, valueForIntegerBinding, valueForKey, valueForKeyPath, valueForNSArrayBindings, valueForNSDictionaryBindings, valueForNumberBinding, valueForStringBinding, variableValueForName, variableWithName |
exception
public Throwable exception
exceptions
public NSArray exceptions
currentException
public WOParsedException currentException
currentExceptionFrame
public WOParsedErrorLine currentExceptionFrame
exceptionIndex
public int exceptionIndex
WOExceptionPage
public WOExceptionPage(WOContext aContext)
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
- Returns:
true
if the event logging is enabled for the component, false
otherwise- See Also:
WOEvent
setException
public void setException(Throwable newException)
showDetails
public boolean showDetails()
errorMessage
public String errorMessage()
styleForCurrentException
public String styleForCurrentException()
idForCurrentException
public String idForCurrentException()
idForCurrentExceptionImage
public String idForCurrentExceptionImage()
onClickForCurrentException
public String onClickForCurrentException()
currentExceptionImage
public String currentExceptionImage()
Copyright © 2000-2008 Apple Inc.