DbServer.ErrInfo Property | |
An Error object identifying the error condition after the last operation.
Namespace:
VO
Assembly:
VORDDClasses (in VORDDClasses.dll) Version: 2.19
Syntax VIRTUAL PROPERTY ErrInfo AS USUAL GET
public virtual Usual ErrInfo { get; }
Request Example
View SourceProperty Value
Type:
UsualAn Error object identifying the error condition after the last operation.
Remarks
An Error object identifying the error condition after the last operation. If the last operation was successful, DBServer:ErrInfo returns NULL_OBJECT.
Examples
This example demonstrates a SEQUENCE construct in which ErrInfo is passed to the RECOVER USING statement:
1CLASS Sales INHERIT DBServer
2...
3FUNCTION EOFDemo()
4LOCAL oDBSales AS Sales
5oDBSales := Sales{}
6BEGIN SEQUENCE
7.
8. <Some statements that may fail>
9.
10RECOVER USING oDBSales:ErrInfo
11.
12. <Some recovery statements>
13.
14END SEQUENCE
See Also