K
Ken McIntosh
Guest
Hi Jeff, There's no default error handling properties on a procedure/function block that would cause the procedure to be able to CATCH the error. Since you added none in tryIt the application error was not passed back to the caller. ROUTINE-LEVEL error handling is designed to impose implicit error handling at the sub-routine level for the following blocks (from the doc): Main block of an external procedure (.p) Internal procedures User-defined functions Methods of a class Class constructors Property accessors ON blocks used as database triggers with CREATE, DELETE, WRITE or ASSIGN events Note that BLOCK-LEVEL would also provide the desired behavior. Ken Mc
Continue reading...
Continue reading...