aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Library/LibraryService.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-09-25 22:31:13 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-09-25 22:31:13 -0400
commitebc95ffb9af1d8fabe94c2686af8e816018e34ef (patch)
tree643fefb89fc04b62bdec0f278464c7d1a01698c5 /MediaBrowser.Api/Library/LibraryService.cs
parentc31aab2d642cbcee7061e0cf385083a2ee6aa23e (diff)
update access denied exceptions
Diffstat (limited to 'MediaBrowser.Api/Library/LibraryService.cs')
-rw-r--r--MediaBrowser.Api/Library/LibraryService.cs2
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)