PATH |
NSKeyValueCoding.ErrorHandling
- Package:
- com.webobjects.foundation
Interface Description
The NSKeyValueCoding.ErrorHandling interface declares an API for handling errors that occur during key-value coding. For more information, see the NSKeyValueCoding interface specification.
Instance Methods
handleQueryWithUnboundKey
public Object handleQueryWithUnboundKey(String key)
handleTakeValueForUnboundKey
public void handleTakeValueForUnboundKey( Object value, String key)
unableToSetNullForKey
public void unableToSetNullForKey(String key)
null
value for a scalar property (such as an int or a float). The default implementation (see the NSKeyValueCoding. DefaultImplementation class specification) throws an IllegalArgumentException. You might want to implement the method (or override the inherited implementation) to handle the request in some other way, such as by substituting zero or a sentinel value and invoking takeValueForKey again.
© 2001 Apple Computer, Inc. (Last Published April 17, 2001)