in src/main/java/com/microsoft/azure/datalake/store/acl/AclEntry.java [64:76]
public AclEntry(AclScope scope, AclType type, String name, AclAction action) {
if (scope == null) throw new IllegalArgumentException("AclScope is null");
if (type == null ) throw new IllegalArgumentException("AclType is null");
if (type == AclType.MASK && name != null && !name.trim().equals(""))
throw new IllegalArgumentException("mask should not have user/group name");
if (type == AclType.OTHER && name != null && !name.trim().equals(""))
throw new IllegalArgumentException("ACL entry type 'other' should not have user/group name");
this.scope = scope;
this.type = type;
this.name = name;
this.action = action;
}