J
jquerijero
Guest
For the RETURN statement, does it behave the same way when just returning a literal string, or does it need to be a ProgressError derived class when using structured error handling? [quote user="Laura Stern"] Be careful. If you try to throw it back to the client using...: UNDO, THROW NEW yourpackage.YourError (). ...then you need to have BLOCK-LEVEL UNDO, THROW at the top of your .p or .cls file. Otherwise the error will just get raised within its current block context. Or you can do the following from the top-level AppServer procedure: RETURN ERROR NEW yourpackage.YourError (). [/quote]
Continue reading...
Continue reading...