Try OpenEdge Now
skip to main content
Developing AppServer Applications
Programming the AppServer : Handling conditions and returning values : Effects of unhandled conditions
 

Effects of unhandled conditions

An unhandled ERROR or ENDKEY condition raised in an AppServer agent has no effect on the client application to which it is connected. The handling of each condition conforms to standard ABL rules. For more information about these rules, see OpenEdge Getting Started: ABL Essentials.
Two ABL conditions (STOP and QUIT), if not handled using the ON STOP and ON QUIT statements in an AppServer session, have definite effects on any client application for which the AppServer agent is handling a request.
Any unhandled STOP causes the remote procedure request (persistent or non-persistent) to terminate and propagate the STOP condition to the client application.
Any unhandled QUIT condition causes the remote procedure request to terminate and return successfully without any propagated condition to the client. However, OpenEdge also terminates the client connection to the AppServer.