diff options
Diffstat (limited to 'Assets/ThirdParty/LitJson/JsonException.cs')
-rw-r--r-- | Assets/ThirdParty/LitJson/JsonException.cs | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/Assets/ThirdParty/LitJson/JsonException.cs b/Assets/ThirdParty/LitJson/JsonException.cs deleted file mode 100644 index 4efd8905..00000000 --- a/Assets/ThirdParty/LitJson/JsonException.cs +++ /dev/null @@ -1,65 +0,0 @@ -#region Header -/** - * JsonException.cs - * Base class throwed by LitJSON when a parsing error occurs. - * - * The authors disclaim copyright to this source code. For more details, see - * the COPYING file included with this distribution. - **/ -#endregion - - -using System; - - -namespace LitJson -{ - public class JsonException : -#if NETSTANDARD1_5 - Exception -#else - ApplicationException -#endif - { - public JsonException () : base () - { - } - - internal JsonException (ParserToken token) : - base (String.Format ( - "Invalid token '{0}' in input string", token)) - { - } - - internal JsonException (ParserToken token, - Exception inner_exception) : - base (String.Format ( - "Invalid token '{0}' in input string", token), - inner_exception) - { - } - - internal JsonException (int c) : - base (String.Format ( - "Invalid character '{0}' in input string", (char) c)) - { - } - - internal JsonException (int c, Exception inner_exception) : - base (String.Format ( - "Invalid character '{0}' in input string", (char) c), - inner_exception) - { - } - - - public JsonException (string message) : base (message) - { - } - - public JsonException (string message, Exception inner_exception) : - base (message, inner_exception) - { - } - } -} |