PATH |
NSValidation.ValidationException
- Inherits from:
- RuntimeException : Exception : Throwable : Object
- Package:
- com.webobjects.foundation
Class Description
Instances of the NSValidation.ValidationException class are created and thrown when an error condition is encountered during the validation of an object that implements NSValidation. For more information, see the interface specification for NSValidation.
Constants
NSValidation.ValidationException defines the following constants:
Constant | Type | Description |
AdditionalExceptionsKey | String |
The key for an entry in the exception's user info dictionary that contains subexceptions. This constant is deprecated. You should access this user info dictionary entry using the additionalExceptions method. |
ValidatedKeyUserInfoKey | String |
The key for an entry in the exception's user info dictionary. The entry contains the key for the property that failed to validate. This constant is deprecated. You should access this user info dictionary entry using the key method. |
ValidatedObjectUserInfoKey | String |
A key for an entry in the exception's user info dictionary. The entry contains the object that failed to validate. This constant is deprecated. You should access this user info dictionary entry using the object method. |
Constructors
NSValidation.ValidationException
public NSValidation.ValidationException(String message)
public NSValidation.ValidationException( String message, NSDictionary userInfo)
public NSValidation.ValidationException( String message, Object anObject, String key)
Static Methods
aggregateExceptionWithExceptions
public static NSValidation.ValidationException aggregateExceptionWithExceptions( NSArray exceptions)
Instance Methods
additionalExceptions
public NSArray additionalExceptions()
exceptionAddingEntriesToUserInfo
public NSValidation.ValidationException exceptionAddingEntriesToUserInfo( Object anObject, String key)
exceptionWithObjectAndKey
public NSValidation.ValidationException exceptionWithObjectAndKey(Object anObject, String key)
key
public String key()
object
public Object object()
userInfo
public NSDictionary userInfo()
© 2001 Apple Computer, Inc. (Last Published April 17, 2001)