DatabaseException (open)
Database exception, thrown on commit when 'throwoncommiterror' is set to TRUE in transaction.
Syntax
LOADLIB "wh::dbase/transaction.whlib";
OBJECTTYPE DatabaseException
Constructor
- MACRO NEW(RECORD ARRAY errors)
Create a new DatabaseException object
Variables
- STRING what (inherited from Exception)
Message for this exception
Properties
- PROPERTY errors
List of errors
- PROPERTY trace (inherited from Exception)
Contains the unwind trace for this exception
Functions
- RECORD FUNCTION EncodeForIPC() (inherited from Exception)
Encode into a record for transfer over IPC. Use RegisterReceivedExceptionType to register decoders for other types of exception.