Package ru.org.linux.site

Examples of ru.org.linux.site.BadParameterException


          @RequestParam("reason") String reason,
          @RequestParam(value = "bonus", defaultValue = "0") int bonus,
          HttpServletRequest request
  ) throws Exception {
    if (bonus < 0 || bonus > 20) {
      throw new BadParameterException("неправильный размер штрафа");
    }

    Template tmpl = Template.getTemplate(request);

    if (!tmpl.isSessionAuthorized()) {
View Full Code Here

TOP

Related Classes of ru.org.linux.site.BadParameterException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.