diff options
author | chai <215380520@qq.com> | 2023-05-30 14:27:59 +0800 |
---|---|---|
committer | chai <215380520@qq.com> | 2023-05-30 14:27:59 +0800 |
commit | 2fcb4625389b1594bbefdbaf2e038b2cfffa8ead (patch) | |
tree | 87f57dbfdaf3d11ebf33869b76f12cc475c9a033 /WorldlineKeepers/Assets/ThirdParty/LitJson/JsonException.cs | |
parent | 38e177b0fdf130d6a361ab51c80b5b56ee83f28e (diff) |
+ json extends
Diffstat (limited to 'WorldlineKeepers/Assets/ThirdParty/LitJson/JsonException.cs')
-rw-r--r-- | WorldlineKeepers/Assets/ThirdParty/LitJson/JsonException.cs | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/WorldlineKeepers/Assets/ThirdParty/LitJson/JsonException.cs b/WorldlineKeepers/Assets/ThirdParty/LitJson/JsonException.cs new file mode 100644 index 0000000..cbf7ae3 --- /dev/null +++ b/WorldlineKeepers/Assets/ThirdParty/LitJson/JsonException.cs @@ -0,0 +1,60 @@ +#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 : ApplicationException + { + 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) + { + } + } +} |