Add the functions argument checking.
Minor the exception constructor.
Fix the SmtpSenderAgent bug.
Add throws FileNotFoundException while there is no the specify resource
name.