#JC-1375

Added PermissionsDeniedException, trivial changes in other exceptions