diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-09-25 22:31:13 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-09-25 22:31:13 -0400 |
| commit | ebc95ffb9af1d8fabe94c2686af8e816018e34ef (patch) | |
| tree | 643fefb89fc04b62bdec0f278464c7d1a01698c5 /MediaBrowser.Api/Library/LibraryService.cs | |
| parent | c31aab2d642cbcee7061e0cf385083a2ee6aa23e (diff) | |
update access denied exceptions
Diffstat (limited to 'MediaBrowser.Api/Library/LibraryService.cs')
| -rw-r--r-- | MediaBrowser.Api/Library/LibraryService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Api/Library/LibraryService.cs b/MediaBrowser.Api/Library/LibraryService.cs index eb1cd6084..20fd1ef40 100644 --- a/MediaBrowser.Api/Library/LibraryService.cs +++ b/MediaBrowser.Api/Library/LibraryService.cs @@ -722,7 +722,7 @@ namespace MediaBrowser.Api.Library if (!item.CanDelete(user)) { - throw new UnauthorizedAccessException(); + throw new SecurityException("Unauthorized access"); } if (item is ILiveTvRecording) |
