Create a new instance of PermissionsException with supplied details.
Namespace: Authorit.API.Exceptions
Parameters
folderId - Folder ID permissions are required on.
releaseStateId - Release state ID permissions are required on.
requiredPermissions - Required level of permissions.