RAD Studio VCL Reference
|
TAdapterErrorsList keeps track of errors that an adapter encounters.
TAdapterErrorsList = class(TBaseAdapterErrorsList);
class TAdapterErrorsList : public TBaseAdapterErrorsList;
WebAdapt
TAdapterErrorsList acts as a repository for all the errors an adapter (or any of its subcomponents) encounters while processing an HTTP request message. Adapter components create an instance of this class to implement their Errors property. Server-side scripts can use the Errors property to access the errors in this list. The usual purpose of such a script is to display error messages to the end user.
To add new error objects to the list, call the AddError method. To access the errors in the list, read its Errors property. Errors lists the IAdapterError interfaces of adapter error objects (TAdapterError) that represent each error in the list. You can also access the individual properties of those error objects using the FieldNames, IDs, and Messages properties of the TAdapterErrorsList instance.
TAdapterErrorsList implements the IAdapterErrorsList interface.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|