WebObjects 5.4.2

com.webobjects.woextensions
Class WOExceptionPage

java.lang.Object
  extended by com.webobjects.appserver.WOElement
      extended by com.webobjects.appserver.WOComponent
          extended by com.webobjects.woextensions.WOExceptionPage
All Implemented Interfaces:
WOActionResults, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, Serializable, Cloneable

public class WOExceptionPage
extends WOComponent

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.webobjects.appserver.WOComponent
WOComponent.Event
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSValidation
NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException
 
Field Summary
 WOParsedException currentException
           
 WOParsedErrorLine currentExceptionFrame
           
 Throwable exception
           
 int exceptionIndex
           
 NSArray exceptions
           
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
KeyPathSeparator
 
Constructor Summary
WOExceptionPage(WOContext aContext)
           
 
Method Summary
 String currentExceptionImage()
           
 String errorMessage()
           
 String idForCurrentException()
           
 String idForCurrentExceptionImage()
           
 boolean isEventLoggingEnabled()
          Called to determine if a component wants event logging.
 String onClickForCurrentException()
           
 void setException(Throwable newException)
           
 boolean showDetails()
           
 String styleForCurrentException()
           
 
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

exception

public Throwable exception

exceptions

public NSArray exceptions

currentException

public WOParsedException currentException

currentExceptionFrame

public WOParsedErrorLine currentExceptionFrame

exceptionIndex

public int exceptionIndex
Constructor Detail

WOExceptionPage

public WOExceptionPage(WOContext aContext)
Method Detail

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()

Last updated June 2008

Copyright © 2000-2008 Apple Inc.