From 8b384dffa0d9c63c7a657c6e567c2ddefbf046cd Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 11 Oct 2020 20:00:58 +0800 Subject: +Saionji show off scene --- .../VRM/VRM/UniJSON/Scripts/Exceptions.cs | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Assets/ThirdParty/VRM/VRM/UniJSON/Scripts/Exceptions.cs (limited to 'Assets/ThirdParty/VRM/VRM/UniJSON/Scripts/Exceptions.cs') 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) { } + } + + /// + ///Exception failure + /// + public class ParserException : TreeValueException + { + public ParserException(string msg) : base(msg) { } + } + + /// + /// Successfully parsed, but fail to getValue + /// + public class DeserializationException : TreeValueException + { + public DeserializationException(string msg) : base(msg) { } + } + + /// + /// Formatter exception. key value violation + /// + public class FormatterException : TreeValueException + { + public FormatterException(string msg) : base(msg) { } + } +} -- cgit v1.1-26-g67d0