requirePermission
Throws a MissingPermissionException if the required permission is not present in the granted set.
Parameters
required
the permission that must be present
granted
the set of permissions that have been granted
message
a descriptive message to include in the exception if the permission is missing
Throws
Throws a MissingPermissionException if the required permission is not granted to this holder.
Parameters
required
the permission that must be present
message
a descriptive message to include in the exception if the permission is missing
Throws
if required is not granted to this holder