A special WFException subclass meant for carrying multiple WFError objects.
WFPage automatically catches WFErrorsException's thrown from action methods and displays the errors.
WFErrorsException knows how to handle the multi-level error structure used by WFKeyValueCoding::validateObject().
Located in /framework/WFError.php (line 75)
Exception | --WFException | --WFErrorsException
Get all errors in the current exception.
Get all errors in the format prescribed by WFKeyValueCoding::validateObject()
Get all errors for the given key.
Get the errors that are not mapped to specific properties.
Inform a widget of all errors for the given key.
Optionally [and by default], prune the errors that have been propagated from the current list. Since the caller will typically re-throw this exception to be caught by the WFPage, the auto-pruning prevents errors from appearing twice, as the WFPage will automatically detect and report all errors as well (although not linked to widgets).
Documentation generated on Thu, 14 May 2009 16:19:59 -0400 by phpDocumentor 1.4.2