Deprecated in2.5.1 Syntax Warning Example when any if (sqlcode <> 0) then Msg = 'An SQL error occurred!'; Msg = 'Something bad happened!'; exception ex_custom Msg;