diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-11-14 21:31:03 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-11-14 21:31:03 -0500 |
| commit | a4b75934e5a4737ba7721c33ad9a009060a8a246 (patch) | |
| tree | a738ce7e7a6b707107b438220457d73585d0e4dd /MediaBrowser.Controller/Net/SecurityException.cs | |
| parent | 15a56fa069d85382fa2e053a9a60e763308c2d66 (diff) | |
revise endpoint attributes
Diffstat (limited to 'MediaBrowser.Controller/Net/SecurityException.cs')
| -rw-r--r-- | MediaBrowser.Controller/Net/SecurityException.cs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Net/SecurityException.cs b/MediaBrowser.Controller/Net/SecurityException.cs new file mode 100644 index 000000000..b251ab9a9 --- /dev/null +++ b/MediaBrowser.Controller/Net/SecurityException.cs @@ -0,0 +1,21 @@ +using System; + +namespace MediaBrowser.Controller.Net +{ + public class SecurityException : Exception + { + public SecurityException(string message) + : base(message) + { + + } + + public SecurityExceptionType SecurityExceptionType { get; set; } + } + + public enum SecurityExceptionType + { + Unauthenticated = 0, + ParentalControl = 1 + } +} |
