Thanks for the suggestion on GET DIAGNOSTICS.
But concerning EXECUTE, if I do
BEGIN EXECUTE QueryAEXCEPTION WHEN OTHERS THEN QueryBEND;
will it execute QueryB if QueryA fails?