Package org.soybeanMilk.web.bean

Examples of org.soybeanMilk.web.bean.ParamConvertException


    {
      ConvertException cvte=((ConvertExecuteException)cause).getCause();
     
      if(cvte instanceof ParamConvertException)
      {
        ParamConvertException pce=(ParamConvertException)cvte;
       
        msg="The parameter [name: \""+pce.getParamName()+"\", value: \""+pce.getSourceObject()+"\"]";
       
        Type targetType=pce.getTargetType();
        if(Integer.class.equals(targetType)
            || int.class.equals(targetType))
          msg+=" is not valid integer.";
        else
          msg+=" is invalid";
View Full Code Here

TOP

Related Classes of org.soybeanMilk.web.bean.ParamConvertException

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.