Try OpenEdge Now
skip to main content
Programming Interfaces
Data Management : ABL API for Multi-tenant and Table Partition Management : Handling errors : Controlling data errors with the IDataAdminService interface : IDataAminService interface public methods for error handling
 
IDataAminService interface public methods for error handling
When you set ThrowDataErrors to FALSE, each time a Create*( ) or Update*( ) service method returns FALSE, you can use the methods in the following table to access and manage the data error that was raised by the service.
Table 30. Multi-tenant Maintenance IDataAminService interface error methods
Method syntax
Description
Progress.Lang.Error RemoveError ( )
Retrieves and removes the current data error raised in the DataAdminService so you can, throw, display, or process the error in any way your application requires.
VOID ThrowError ( )
Throws the current data error raised in the DataAdminService.