1 package org.splat.exception;
3 import org.splat.common.properties.MessageKeyEnum;
6 * Exception thrown when the user passed to a method hasn't got rights for required operation.
9 public class UserRightsException extends BusinessException {
12 * Version id for serialization.
14 private static final long serialVersionUID = -4596111071538834057L;
21 * the name of required operation
23 public UserRightsException(final String userName, final String operation){
24 super(MessageKeyEnum.USR_000002.toString(), userName, operation);