HPCC-7946 CATCH(expr,msg) won't compile

Add example

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>