[Progress Communities] [Progress OpenEdge ABL] Forum Post: DataAdminErrorHanlder

  • Thread starter Thread starter Roger Blanchard
  • Start date Start date
Status
Not open for further replies.
R

Roger Blanchard

Guest
We are using the following to catch any error while applying a schema update. Is there any way to retrieve the text of the error as well so I can write to my application log file? DO ON ERROR UNDO, THROW: CREATE ALIAS DICTDB FOR DATABASE histlog. oService = NEW DataAdminService ("histlog"). /* HISTLOG DB */ oService:LoadSchemaChanges(cHistlogDf). CATCH e AS Progress.Lang.Error: oErrorhandler = NEW DataAdminErrorHandler(). oErrorHandler:Error(e). // will display error in message box DELETE OBJECT e NO-ERROR. END CATCH. FINALLY: DELETE OBJECT oService NO-ERROR. DELETE ALIAS DICTDB. END FINALLY. END.

Continue reading...
 
Status
Not open for further replies.
Back
Top