From 0e7cbb04651bd9b65668ca1635a4625640639560 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sat, 17 Jun 2017 18:59:17 -0400 Subject: add subtitle language detection --- .../TextEncoding/NLangDetect/InternalException.cs | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Emby.Common.Implementations/TextEncoding/NLangDetect/InternalException.cs (limited to 'Emby.Common.Implementations/TextEncoding/NLangDetect/InternalException.cs') diff --git a/Emby.Common.Implementations/TextEncoding/NLangDetect/InternalException.cs b/Emby.Common.Implementations/TextEncoding/NLangDetect/InternalException.cs new file mode 100644 index 000000000..32e50a219 --- /dev/null +++ b/Emby.Common.Implementations/TextEncoding/NLangDetect/InternalException.cs @@ -0,0 +1,22 @@ +using System; + +namespace NLangDetect.Core +{ + [Serializable] + public class InternalException : Exception + { + #region Constructor(s) + + public InternalException(string message, Exception innerException) + : base(message, innerException) + { + } + + public InternalException(string message) + : this(message, null) + { + } + + #endregion + } +} -- cgit v1.2.3