WebObjects 5.2

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

Inner classes inherited from class com.webobjects.appserver.WOComponent
WOComponent.Event
 
Inner classes inherited from class com.webobjects.foundation.NSKeyValueCoding
NSKeyValueCoding.DefaultImplementation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.Null, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.Utility, NSKeyValueCoding.ValueAccessor
 
Inner classes inherited from class com.webobjects.foundation.NSKeyValueCodingAdditions
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
 
Inner 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, 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.
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()

Last updated Fri Feb 21 13:15:00 PST 2003.

Copyright © 2003 Apple Computer, Inc.