Forum Post: RE: On error .. trow: Catch... missing precious info.

  • Thread starter Thread starter James Palmer
  • Start date Start date
Status
Not open for further replies.
J

James Palmer

Guest
Ignore me I misunderstood! James Palmer | Application Developer Tel: 01253 785103 From: James Palmer Sent: ‎09/‎02/‎2015 18:51 To: TU.OE.Development@community.progress.com Subject: RE: [Technical Users - OE Development] On error .. trow: Catch... missing precious info. RE: On error .. trow: Catch... missing precious info. Reply by James Palmer Put the catch outside the do block, and with block level you don't need the on error as far as I know. James Palmer | Application Developer Tel: 01253 785103 From: OctavioOlguin Sent: ‎09/‎02/‎2015 17:10 To: TU.OE.Development@community.progress.com Subject: [Technical Users - OE Development] On error .. trow: Catch... missing precious info. On error .. trow: Catch... missing precious info. Thread created by OctavioOlguin Hello everyone! BLOCK-LEVEL ON ERROR UNDO, THROW. DO ON ERROR UNDO, THROW: RUN asdfsd no-error. CATCH myS AS Progress.Lang.SysError: MESSAGE "Error file not found!!!: " myS:GetMessage(1). END CATCH. END. What's wrong with that,as I cant get the message fired...´?? TIA Stop receiving emails on this subject. Flag this post as spam/abuse. This email has been scanned for email related threats and delivered safely by Mimecast. For more information please visit http://www.mimecast.com Stop receiving emails on this subject. Flag this post as spam/abuse. This email has been scanned for email related threats and delivered safely by Mimecast. For more information please visit http://www.mimecast.com

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