diff options
author | chai <215380520@qq.com> | 2023-05-12 13:52:37 +0800 |
---|---|---|
committer | chai <215380520@qq.com> | 2023-05-12 13:52:37 +0800 |
commit | 266370578135dca270729e8a70252e776ed22898 (patch) | |
tree | 4414884662642108950542a39b0d8ce5faee2e2a /WorldlineKeepers/Assets/Standard Assets/LitJson/JsonException.cs | |
parent | 2fc9585797067730f28b03b0727bf05f9deed091 (diff) |
+ litjson
Diffstat (limited to 'WorldlineKeepers/Assets/Standard Assets/LitJson/JsonException.cs')
-rw-r--r-- | WorldlineKeepers/Assets/Standard Assets/LitJson/JsonException.cs | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/WorldlineKeepers/Assets/Standard Assets/LitJson/JsonException.cs b/WorldlineKeepers/Assets/Standard Assets/LitJson/JsonException.cs new file mode 100644 index 0000000..4efd890 --- /dev/null +++ b/WorldlineKeepers/Assets/Standard Assets/LitJson/JsonException.cs @@ -0,0 +1,65 @@ +#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) + { + } + } +} |