Package com.liferay.docs.guestbook

Examples of com.liferay.docs.guestbook.EntryNameException


   
  }
 
  protected void validate (String name, String email, String entry) throws PortalException {
    if (Validator.isNull(name)) {
      throw new EntryNameException();
    }
   
    if (!Validator.isEmailAddress(email)) {
      throw new EntryEmailException();
    }
View Full Code Here


    return entry;
  }
 
  protected void validate (String name, String email, String entry) throws PortalException {
    if (Validator.isNull(name)) {
      throw new EntryNameException();
    }
   
    if (!Validator.isEmailAddress(email)) {
      throw new EntryEmailException();
    }
View Full Code Here

TOP

Related Classes of com.liferay.docs.guestbook.EntryNameException

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.