E
egarcia
Guest
Hello. Are you doing the THROW from the CRUD method, something like "ReadCustomer" or "UpdateCustomer"? Here is how the code looks like in one of my test programs: ROUTINE-LEVEL ON ERROR UNDO, THROW. CLASS CustomerBE: ... METHOD PUBLIC VOID UpdateCustomer(INPUT-OUTPUT DATASET dsCustomer): UNDO, THROW NEW Progress.Lang.AppError("Error message."). THIS-OBJECT:commitCustomers(INPUT "", ROW-MODIFIED). END METHOD. ... Could you check that the network request returns HTTP error 500 with a request body like the following? {"_retVal":"Error message.","_errors":[{"_errorMsg":"ERROR condition: The Server application has returned an error. (7243) (7211)","_errorNum":0}]} I hope this helps.
Continue reading...
Continue reading...