Deprecated in2.5.1

    Syntax

    Warning

    Example

    1. when any
    2. if (sqlcode <> 0) then
    3. Msg = 'An SQL error occurred!';
    4. Msg = 'Something bad happened!';
    5. exception ex_custom Msg;