Examples of StudentNameFormatException


Examples of sis.customize.exception.StudentNameFormatException

    List<String> nameParts = split(fullName);
    final int maximunNumberOfNameParts = 3;
    if(nameParts.size() > maximunNumberOfNameParts){
      String message = String.format(TOO_MANY_NAME_PARTS_MSG, fullName, MAX_NAME_PARTS);
      Student.logger.info(message);
      throw new StudentNameFormatException(message);
    }
    setName(nameParts);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.