SyntaxAn exception can be raised like this: RAISE(message);UseNo exception is raised, when the message has no value such as
A simple exception handing is made like this: TMP succeed := { codeThatFails(); TRUE } CATCH FALSE;It is possible to handle specific exceptions based on error message pattern. ExampleTMP status := { codeThatAbortsOrFails(); 0 }
CATCH "": 1 // Empty message considered as abortion
CATCH "Warning*": 2
CATCH "Failed*": 3
CATCH 4;
| |||||||||