Consultor Eletrônico



Kbase P98659: Does a .Net client receive the error, quit and stop exceptions if a DO ON block handles them on the
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/12/2004
Status: Unverified

GOAL:

Does a .Net client receive the error, quit and stop exceptions if a DO ON block handles them on the AppServer?

FACT(s) (Environment):

OpenEdge 10.x

FIX:

The .Net Open Client exposes the following exceptions which will be raised if they exception is not handled within the 4GL:

Progress.Open4GLExceptions.RunTime4GLErrorException
Progress.Open4GLExceptions.RunTime4GLQuitException
Progress.Open4GLExceptions.RunTime4GLStopException
However, if on the AppServer code similar to the following is used these exceptions will NOT be raised on the .Net client because this code handles the exception internally on the AppServer:

DO ON ERROR UNDO, RETRY ON QUIT UNDO, RETRY ON STOP UNDO, RETRY:

[Code Goes Here To Do Whatever You Need To Do]
END.