throw new System.ArgumentException('A value must be set', 'FromDate');
System.ArgumentException argEx; try { ... } catch (argEx) { warning(strFmt("Please provide a valid value for the parameter '%1'.", argEx.ParamName)); }
catch (ex) { logger.log(ex); throw; }