Developer Documentation
PATH  WebObjects 4.5 Documentation > EOControl Reference

Table of Contents

EOValidation.Exception


Inherits from:
(com.apple.client.eocontrol) RuntimeException
(com.apple.yellow.eocontrol) NSException : NSObject
Package:
com.apple.client.eocontrol
com.apple.yellow.eocontrol


Class Description


Instances of the EOValidation.Exception class are created and raised when an error condition is encountered during the validation of an enterprise object. For more information, see the interface specification for EOValidation.




Constants


EOValidation.Exception defines the following String constants for use as keys in a EOValidation.Exception's userInfo dictionary:


Constant Corresponding userInfo Value
AdditionalExceptionsKey NSArray of additional validation exceptions that were raised during a validation pass
ValidatedObjectUserInfoKey The enterprise object whose values failed validation
ValidatedPropertyUserInfoKey The name of the property whose value failed validation



Constructors



Exception

public Exception(String message)

Creates and returns a new Exception with message as the message.

public Exception( String message, NSDictionary userInfo)

Creates and returns a new Exception with message as the message and userInfo as the userInfo.


Instance Methods



userInfo

public NSDictionary userInfo()

Returns the exception's userInfo dictionary. For more information, see the section "Constants".


Table of Contents