+package org.splat.exception;
+
+import org.splat.common.properties.MessageKeyEnum;
+
+/**
+ * Exception thrown when the user passed to a method hasn't got rights for required operation.
+ *
+ */
+public class UserRightsException extends BusinessException {
+
+ /**
+ * Version id for serialization.
+ */
+ private static final long serialVersionUID = -4596111071538834057L;
+
+ /**
+ * Constructor.
+ * @param user
+ * the user
+ * @param operation
+ * the name of required operation
+ */
+ public UserRightsException(final String userName, final String operation){
+ super(MessageKeyEnum.USR_000002.toString(), userName, operation);
+ }
+}