WebObjects 5.1

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

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 Thu Jan 10 18:10:21 PST 2002.

Copyright © 2002 Apple Computer, Inc.