Package sis.customize.exception

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

Related Classes of sis.customize.exception.StudentNameFormatException

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.