WebObjects 5.2.3

com.webobjects.woextensions
Class WOExceptionPage

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

public class WOExceptionPage
extends WOComponent

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class com.webobjects.appserver.WOComponent
WOComponent.Event
 
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCoding
NSKeyValueCoding.DefaultImplementation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.Null, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.Utility, NSKeyValueCoding.ValueAccessor
 
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCodingAdditions
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
 
Nested classes inherited from class com.webobjects.foundation.NSValidation
NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException
 
Field Summary
 String currentReasonLine
           
 WOExceptionParser error
           
 WOParsedErrorLine errorline
           
 Throwable exception
           
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding
NullValue
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
KeyPathSeparator
 
Constructor Summary
WOExceptionPage(WOContext aContext)
           
 
Method Summary
 String errorMessage()
           
 WOResponse generateResponse()
          Conformance to WOActionResults.
 boolean isEventLoggingEnabled()
          Called to determine if a component wants event logging.
 NSArray reasonLines()
           
 void setException(Throwable newException)
           
 boolean showDetails()
           
 
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, pathURL, 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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

currentReasonLine

public String currentReasonLine

error

public WOExceptionParser error

errorline

public WOParsedErrorLine errorline

exception

public Throwable exception
Constructor Detail

WOExceptionPage

public WOExceptionPage(WOContext aContext)
Method Detail

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.

Specified by:
generateResponse in interface WOActionResults
Overrides:
generateResponse in class 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
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()

Last updated Thu Oct 21 15:04:16 PDT 2004.

Copyright © 2004 Apple Computer, Inc.