27 lines
509 B
C#
27 lines
509 B
C#
// JSONKeyNotFoundException
|
|
|
|
|
|
using System.Collections.Generic;
|
|
using Leguar.TotalJSON.Internal;
|
|
|
|
namespace Leguar.TotalJSON {
|
|
|
|
/// <summary>
|
|
/// Exception that is thrown if given parameter key doesn't exist in JSON.
|
|
/// </summary>
|
|
public class JSONKeyNotFoundException : KeyNotFoundException {
|
|
|
|
internal JSONKeyNotFoundException(string message)
|
|
: base(message) {
|
|
}
|
|
|
|
public override string StackTrace {
|
|
get {
|
|
return InternalTools.getCleanedStackTrace(base.StackTrace);
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
}
|