Examples of EnmeNotAllowedException


Examples of org.encuestame.persistence.exception.EnmeNotAllowedException

        } else if (TypeSearchResult.SURVEY.equals(commentBean.getType())) {
            //TODO: survey get imp
          //comment.setPoll(poll);
            //comment.setCommentOptions(poll.getShowComments());
        } else {
            throw new EnmeNotAllowedException("type not allowed");
        }
        getCommentsOperations().saveOrUpdate(comment);
        return comment;
    }
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.