类 tot.exception.BadInputException
的使用

使用 BadInputException 的软件包
tot.search   
tot.send   
tot.util   
 

tot.searchBadInputException 的使用
 

抛出 BadInputExceptiontot.search 中的方法
 void ArticleSearch.processSearch(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String key, int scopein, int date, int offset, int rows, int beforafter, int sorttype, int catalogid)
           
 

tot.sendBadInputException 的使用
 

抛出 BadInputExceptiontot.send 中的方法
 void SendCategory.createCategoryIndex(java.util.Locale locale, int categoryId, java.lang.String savePath, java.lang.String template, java.lang.String distributepath)
          create category index file
 void SendCategory.createCategoryList(java.util.Locale locale, int categoryId, int pagesizes, java.lang.String savePath, java.lang.String template, java.lang.String distributepath)
          create category list file
 

tot.utilBadInputException 的使用
 

抛出 BadInputExceptiontot.util 中的方法
static void EmailUtil.checkGoodEmail(java.lang.String input)
          Check if an email is good and safe or not.
static void FileUtil.checkGoodFileName(java.lang.String str)
           
static void FileUtil.checkGoodFilePath(java.lang.String str)
           
static java.lang.String[] EmailUtil.getEmails(java.lang.String email)
          This method trim the email variable, so if it contains only spaces, then it will be empty string, then we have 0 token :-) The returned value is never null