UniVRM/Scripts/Exceptions.cs
ousttrue df5f795843 Squashed 'UniJSON/' content from commit 8e22468
git-subtree-dir: UniJSON
git-subtree-split: 8e224689031f2a5e6ea30872e60fe808ddfdc31d
2018-12-28 20:36:46 +09:00

35 lines
845 B
C#

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) { }
}
}