[progress Communities] [progress Openedge Abl] Forum Post: Re: Trapping Error Messages...

  • Thread starter Thread starter Fernando Souza
  • Start date Start date
Status
Not open for further replies.
F

Fernando Souza

Guest
That was introduced as a convenience so that you would not have to change every block in your code to throw the error to the caller. By default, that doesn't happen so if you want to get an error to be thrown to the caller, you would add that to the top of your procedure and get that behavior. Now there is a startup parameter named -undothrow that you can specify to change the default error-handling for blocks in ABL code. If you specify -undothrow 2, every single procedure/class that is compiled in that session will be compiled as if you had included the BLOCK-LEVEL statement in them.

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