diff options
author | chai <chaifix@163.com> | 2020-10-11 20:00:58 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2020-10-11 20:00:58 +0800 |
commit | 8b384dffa0d9c63c7a657c6e567c2ddefbf046cd (patch) | |
tree | 3f4d669b73b6622aa49627c4ccb3c78d51a82bde /Assets/ThirdParty/VRM/VRM/UniJSON/Scripts/Exceptions.cs | |
parent | cd3aee8d640f6abcc82802ca7abbcdfa031c20d3 (diff) |
+Saionji show off scene
Diffstat (limited to 'Assets/ThirdParty/VRM/VRM/UniJSON/Scripts/Exceptions.cs')
-rw-r--r-- | Assets/ThirdParty/VRM/VRM/UniJSON/Scripts/Exceptions.cs | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Assets/ThirdParty/VRM/VRM/UniJSON/Scripts/Exceptions.cs b/Assets/ThirdParty/VRM/VRM/UniJSON/Scripts/Exceptions.cs new file mode 100644 index 00000000..d92f0d75 --- /dev/null +++ b/Assets/ThirdParty/VRM/VRM/UniJSON/Scripts/Exceptions.cs @@ -0,0 +1,34 @@ +using System; + + +namespace UniJSON +{ + public class TreeValueException : ArgumentException + { + protected TreeValueException(string msg) : base(msg) { } + } + + /// <summary> + ///Exception failure + /// </summary> + public class ParserException : TreeValueException + { + public ParserException(string msg) : base(msg) { } + } + + /// <summary> + /// Successfully parsed, but fail to getValue + /// </summary> + public class DeserializationException : TreeValueException + { + public DeserializationException(string msg) : base(msg) { } + } + + /// <summary> + /// Formatter exception. key value violation + /// </summary> + public class FormatterException : TreeValueException + { + public FormatterException(string msg) : base(msg) { } + } +} |